Jump to content

Recommended Posts

Guest terryyakki
Posted

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

Posted

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

Guest terryyakki
Posted

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...