Click to See Complete Forum and Search --> : batch file question


techie211
September 18th, 2001, 08:24 PM
hey ppl! does anyone know how to create a batch file that will open multiple windows that run different commands in each window?

Any help would be great http://forums.windrivers.com/cgi-bin/forum1/noncgi/biggrin.gif

l8r

------------------
"knowledge is power"

MacGyver
September 19th, 2001, 08:35 AM
Create a shortcut for each command that you want to run. If the commands you are trying to run are native DOS commands and not EXE files, then you'll have to put the commands in a batch file and call that batch file from the shortcut. Next, create a "master" batch file that calls all the others using the following syntax:

Start shrtcut1.pif
Start shrtcut2.pif
Start shrtcut3.pif
etc
etc


------------------
http://forums.windrivers.com/cgi-bin/forum1/noncgi/avatars/custom/7630.jpg I help others in the name of my Lord, Jesus Christ.

Gabriel
September 20th, 2001, 06:42 AM
... In Addition:
if it is Batch files i mind -
call 1.bat
call 2.bat
call 3.bat
Etc..

You have to use call because if not - the first batch file executed from the original will terminate the original Batch file Execution.



------------------
It Works Better if you Plug it in, It Works far better if you Turn it ON!

MacGyver
September 20th, 2001, 08:41 AM
Gabriel, to clarify - the CALL command will not open a new DOS window which is what he wants to do. The START command will open a new window for each command, though.

------------------
http://forums.windrivers.com/cgi-bin/forum1/noncgi/avatars/custom/7630.jpg I help others in the name of my Lord, Jesus Christ.

techie211
September 20th, 2001, 06:42 PM
thanks for your replys. The 'start'
command did it.

l8r

------------------
"knowledge is power"

MANDAN
October 5th, 2001, 02:28 PM
I Like it.