Rico.JohnnY Posted August 22, 2004 Share 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! Link to comment Share on other sites More sharing options...
mmainio Posted August 22, 2004 Share 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 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