MDCT Posted April 23, 2007 Share Posted April 23, 2007 Dear all, I have problem to convert this command to AutoIt: Loaddrv "GiveIO" "D:\Tools\Temperature\SpeedFan\Giveio.sys" It needs double quote for the location of Giveio.sys. The Autoit script is in the SpeedFan directory (same directory with Loaddrv.exe and Giveio.sys) so I want to change it with @ScriptDir, that way it allows me to run it in different location without changing the location first. I tried the code below and its modifications with no luck: Run("loaddrv.exe GiveIO" & @ScriptDir & "\Giveio.sys") Please someone help, any help would be appreciated. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 23, 2007 Developers Share Posted April 23, 2007 Run('loaddrv.exe "GiveIO" "' & @ScriptDir & '\Giveio.sys"') SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
MDCT Posted April 23, 2007 Author Share Posted April 23, 2007 Ahh... it works beautifully. Thank you very much for the quick help, JdeB. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now