Configuring STARTALL.cmd command to auto start all processess: Difference between revisions

From NEOSYS Technical Support Wiki
Jump to navigationJump to search
No edit summary
 
Line 4: Line 4:


  start cmd /c "D:\hosts\markone\Start MARKONE.cmd"
  start cmd /c "D:\hosts\markone\Start MARKONE.cmd"
  c:\cygwin\bin\sleep 10
  c:\cygwin\bin\sleep 3
  start cmd /c "D:\hosts\orange\Start ORANGERIE.cmd"
  start cmd /c "D:\hosts\orange\Start ORANGERIE.cmd"
  c:\cygwin\bin\sleep 10
  c:\cygwin\bin\sleep 3


The <b> c:\cygwin\bin\sleep 10 </b> is to give a 10 second gap between each process startup.
The <b> c:\cygwin\bin\sleep 3 </b> is to give a 3 second gap between each process startup.


Likewise you can add additional lines to start up additional processes.
Likewise you can add additional lines to start up additional processes.


Incase you need to disable a process startup temporarily, instead of deleting the line, you may add the word <B> REM </b> (meaning REMARK) before the start of the line and the line will be ignored till such time the remark is there.
Incase you need to disable a process startup temporarily, instead of deleting the line, you may add the word <B> REM </b> (meaning REMARK) before the start of the line and the line will be ignored till such time the remark is there.

Revision as of 20:43, 6 May 2007

Setting up the file

Create a .cmd file with the following command lines:

start cmd /c "D:\hosts\markone\Start MARKONE.cmd"
c:\cygwin\bin\sleep 3
start cmd /c "D:\hosts\orange\Start ORANGERIE.cmd"
c:\cygwin\bin\sleep 3

The c:\cygwin\bin\sleep 3 is to give a 3 second gap between each process startup.

Likewise you can add additional lines to start up additional processes.

Incase you need to disable a process startup temporarily, instead of deleting the line, you may add the word REM (meaning REMARK) before the start of the line and the line will be ignored till such time the remark is there.