Sign in to follow this  
Followers 0
Guest terryyakki

Help Needed With Runwait

4 posts in this topic

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

Share this post


Link to post
Share on other sites



what about this version?

RunWait, %COMSPEC% /C D:\\Clients\\w32intel\\setup.exe /s/v"/qb+"


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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,... /K

try Run, ... /K

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0