Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Automate batch files
Name: Victoria Date: September 5, 2000 at 02:33:02 Pacific
Comment:
hi, i am trying to automate two exe files, however one of the files must be running in order for the other one to work and vice versa. Is there a way that i can get the batch file to run the two files at the same time? I have tried to run the files one after the other but the first one just waits,for the other to be loaded.
Name: JR Date: September 5, 2000 at 02:49:34 Pacific
Reply:
DOS isn't multitasking. You can only run one program at a time.
0
Response Number 2
Name: mr o Date: September 5, 2000 at 04:31:00 Pacific
Reply:
what are the two files?
One might be a TSR, ie it might load and stay in memory for a certain condition being met.
0
Response Number 3
Name: DoOMsdAY Date: September 5, 2000 at 05:09:51 Pacific
Reply:
One would HAVE to be a TSR else they should have written a Windows app as DOS is not multi-tasking and it would be impossible to load one and then the other.
0
Response Number 4
Name: kev100 Date: September 5, 2000 at 23:11:02 Pacific
Reply:
Can you describe what needs to occur? There are probably was to do what you need if we knew a bit more of the why's and what's
0
Response Number 5
Name: vicki Date: September 11, 2000 at 05:26:08 Pacific
Reply:
to give you more information... both files are in windows, i can run them from the desktop. I have to open one file which then says login and waits. It waits for the other file , so when i open up the second file it then runs. However i cannot run the second file unless the first one is open.
0
Response Number 6
Name: DoOMsdAY Date: September 15, 2000 at 09:40:20 Pacific
Reply:
If one opens then waits after a login, you will be unable to do it with a Batch file. Batch will open the first one and wait for it to exit before moving on to open the second. :(
Summary: I am currently using the following batch file to copy all word files on my hard drive to a specific folder: md "c:\" 2>nul for /f "delims=" %%a in ( 'dir "c:\hello\*.doc" /b /s /a-d' ) do copy "%%a" "...
Summary: Hi! I am trying to create a simple batch file to change a drive mapping, then run a program from the new drive - without a prompt! My attempt: net use S: \\linux2\sage S:\sage.exe <yesfile (Wher...
Summary: I use a batch file to connect to a chess server,how can I make this batch file run automated when I get disconnected from the chess server?...