Hi all!
i'm trying to make a .BAT file that works like that:
------------------
"c:\winnt\...\program1.exe"
"c:\winnt\...\program2.exe"
------------------
but when i run the bat file it doesn't run the program2.exe while program1.exe is running. I'd like it ran both program at the same time.
how to do that?
thanks a lot!
Page 1 of 1
batch file [executing EXEs]
#2
Posted 01 October 2002 - 04:58 AM
Quote:
Hi all!
i'm trying to make a .BAT file that works like that:
------------------
"c:\winnt\...\program1.exe"
"c:\winnt\...\program2.exe"
------------------
but when i run the bat file it doesn't run the program2.exe while program1.exe is running. I'd like it ran both program at the same time.
how to do that?
thanks a lot!
i'm trying to make a .BAT file that works like that:
------------------
"c:\winnt\...\program1.exe"
"c:\winnt\...\program2.exe"
------------------
but when i run the bat file it doesn't run the program2.exe while program1.exe is running. I'd like it ran both program at the same time.
how to do that?
thanks a lot!
hmmm
that is an interesting question
i am not sure that you can do that
it is kind of the nature of a script
one thing completes and then next thing runs until it is done
you should try learning some visual basic
that would surely be able to do it
#3
Posted 01 October 2002 - 11:16 AM
I know something about VB. But not enought to build a script.
If someone could send me a sample I would be grateful.
If someone could send me a sample I would be grateful.
#4
Posted 01 October 2002 - 03:24 PM
Do it this way:
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
#6
Posted 01 October 2002 - 03:46 PM
Quote:
Do it this way:
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
cool
ya learn something new everyday
#7
Posted 02 October 2002 - 02:29 AM
Slightly different method is
start /w "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
This will make is wait after one program wait before another one.
start /w "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
This will make is wait after one program wait before another one.
Share this topic:
Page 1 of 1

Help










