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
 
Back
Top