Splitz Posted April 13, 2009 Posted April 13, 2009 been searching and reading the help file for a while now so i decided to post InetGet("http://www.website.com/hello.exe", "Hello.exe", @WindowsDir) Run("Hello.exe", @Windowsdir) i want it to save the file to the windows directory and then run it after its been downloaded, but whenever i run the script it goes to the desktop instead, and does not run at all.
Developers Jos Posted April 13, 2009 Developers Posted April 13, 2009 been searching and reading the help file for a while now so i decided to post InetGet("http://www.website.com/hello.exe", "Hello.exe", @WindowsDir) Run("Hello.exe", @Windowsdir) i want it to save the file to the windows directory and then run it after its been downloaded, but whenever i run the script it goes to the desktop instead, and does not run at all.You haven't been paying much attention to the helpfile description for both commands. InetGet("http://www.website.com/hello.exe", @WindowsDir & "\Hello.exe") Run(@WindowsDir & "\Hello.exe") Why would you want to store a file in the Windows directory? 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.
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