Rico.JohnnY Posted August 22, 2004 Posted August 22, 2004 e.x.run(c:\abc.exe)how to use %systemdirve% environment variable instead of c: in the above sentence?any suggestion appreciated!
mmainio Posted August 22, 2004 Posted August 22, 2004 Hello,If you want to use %system drive%: Run(@comspec & " /c %systemdrive%\abc.exe", "", @SW_HIDE) Or AutoIT -directory macros:Run("@HomeDrive\abc.exe")You can find the frst one in "autoit help - process management -" and the second one in "... - macro reference - directory macros",MMainio
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now