Guest terryyakki Posted April 21, 2004 Share Posted April 21, 2004 Hi; I'm trying to launch an install program using the RunWait command. When it runs an error message keeps telling me to make sure my slashes are correct. The command, if run from the WinXP run box is... D:\Clients\w32intel\setup.exe /s/v"/qb+" and works fine. I have tried several variations like... D:\\Clients\\w32intel\\setup.exe /s/v"/qb+" and D:\\Clients\\w32intel\\setup.exe //s//v"//qb+" and D:,Clients,w32intel,setup.exe /s/v"/qb+" etc. But all so far have produced the same error message. Is there any way to get this command to execute in AutoIt? Thanks, Terry Yakki Link to comment Share on other sites More sharing options...
Developers Jos Posted April 21, 2004 Developers Share Posted April 21, 2004 what about this version? RunWait, %COMSPEC% /C D:\\Clients\\w32intel\\setup.exe /s/v"/qb+" 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. Link to comment Share on other sites More sharing options...
Beastmaster Posted April 21, 2004 Share Posted April 21, 2004 During testing you could use the /K param instead of the /C param to keep the DOSBox open after the command has been executed. So you'll be able to see an error message if an error occurrs.RunWait, %COMSPEC% /K D:\\Clients\\w32intel\\setup.exe /s/v"/qb+"BTW:If there's an error with RunWait,... /Ktry Run, ... /K Link to comment Share on other sites More sharing options...
Guest terryyakki Posted April 22, 2004 Share Posted April 22, 2004 Thanks for both suggestions. Using %COMSPEC% eliminiates the error concerning the slashes and setup.exe does run. However, the soft switches never get transfered to setup. Any ideas on how to get the soft switches sent to setup will be appreciated. BTW - this is a really nice forum. People acutally answer questions and provide great help. Thanks! Thank you, Terry Yakki Link to comment Share on other sites More sharing options...
Recommended Posts