Guest jjakober Posted December 29, 2003 Share Posted December 29, 2003 I am trying to execute the following exe using the run command: \\bloomsday\csav$\techtest\setup.exe /d ADV_CMDLINE="/t custom.mst" transforms=custom.mst NO_GUIAPPS=1 This is the syntax I use to execute it from the command prompt, but how do I format the syntax to execute it with the run command?? Any help would be greatly appreciated!! jjakober Link to comment Share on other sites More sharing options...
scriptkitty Posted December 29, 2003 Share Posted December 29, 2003 (edited) try this: run('\\bloomsday\csav$\techtest\setup.exe /d ADV_CMDLINE="/t custom.mst" transforms=custom.mst NO_GUIAPPS=1') Command line arguments with " are something that gets you the first time. AutoIt's run command wants to enclose the arguments in quotes, so you can do the double quote thing, or I find it easier to enclose it in the single quote ' Example: run(' my.exe /myarg:billybob="Handwash" /s /o /bill "c:\bobs big boy\dinner.txt" ') or double quote version. run("my.exe /myarg:billybob=""Handwash"" /s /o /bill ""c:\bobs big boy\dinner.txt"") double double quotes confuse me Edited December 29, 2003 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Guest jjakober Posted December 29, 2003 Share Posted December 29, 2003 Thank you, thank you, thank you!!!! I can't believe it was so easy. Thanks again, jjakober 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