batch file [executing EXEs]
This is a discussion about batch file [executing EXEs] in the Customization Tweaking category; 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.
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!
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Responses to this topic
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!
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
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
OP
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.
Do it this way:
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
OP
thanks a lot Davros! that works!
Quote:Do it this way:
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
cool
ya learn something new everyday
start "c:\winnt\...\program1.exe"
start "c:\winnt\...\program2.exe"
cool
ya learn something new everyday
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.