Multiple commands

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

Hello,

I there a way to run multiple commands on Start/Run?

A sample: If I enter

conf.exe & wab.exe

only conf.exe is launched.

Thanks

Fredrik
 
Fred said:
Hello,

I there a way to run multiple commands on Start/Run?

A sample: If I enter

conf.exe & wab.exe

only conf.exe is launched.

Thanks

Fredrik

This is because it's the command processor that knows
what to do with & - the process used by the run command
does not. You have several choices:

- Concatenate your commands from the Command Prompt
- Invoke a command processor via the Run command:
cmd /c conf.exe & wab.exe
- Place your commands inside a batch file, then invoke the batch file.
 
Pegasus said:
This is because it's the command processor that knows
what to do with & - the process used by the run command
does not. You have several choices:

- Concatenate your commands from the Command Prompt
- Invoke a command processor via the Run command:
cmd /c conf.exe & wab.exe
- Place your commands inside a batch file, then invoke the batch file.

Ok, Thanks Pegasus!

Fredrik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

netmeeting com objects 2
Netmeeting 1
Netmeeting XP 1
Command for reboot 4
Windows XP Pro RDC executable name? For use w/ MSProxy 2.0 3
WAB.exe 1
Lost ability to use 2k server as gateway. 3
Help files 2

Back
Top