Sachin Posted June 29, 2004 Posted June 29, 2004 How can I get the location from where the autoit script/exe was run ? I want to store this location in a file. Thanks, Sachin
Administrators Jon Posted June 29, 2004 Administrators Posted June 29, 2004 MsgBox(0, "Script directory:", @ScriptDir)
Proof Posted June 29, 2004 Posted June 29, 2004 FileChangeDir("c:\") $file = FileOpen("ScriptDir.txt", 2) FileWriteLine($file, @ScriptDir) FileClose($file)
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