nodiaque Posted August 15, 2004 Share Posted August 15, 2004 Hi, I have a batch file that run in guirunonce. Now, I have this line in it:start /wait "%ProgramFiles%\winzip\winzip32.exe" /noqp /autoinstallin the batch file, when trying to run that, I get "invalid switch /noqp" error. But then, once windows is started, if I copy/paste the command into run, its working.Can anyone tell me what's going on?thanks Link to comment Share on other sites More sharing options...
Tarran Posted August 15, 2004 Share Posted August 15, 2004 I had that too... it reads what's in the quotes as the entire command and the rest as a new command... so do "%ProgramFiles%\winzip\winzip32.exe /noqp /autoinstall" insteadthough right now my problem is the fact that it just opens a new window and hangs when it's supposed to be running one of the programs Link to comment Share on other sites More sharing options...
Alanoll Posted August 15, 2004 Share Posted August 15, 2004 try this instead....start "" /wait "%Programfiles%\winzip\winzip32.exe" /noqp /autoinstall 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