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.
Batch File run Program
Name: elmoso Date: April 4, 2003 at 10:04:57 Pacific OS: w2k CPU/Ram: 1.8ghz/260MB
Comment:
I'm having a little problem with a batch file of mine. I have put some options in it and one of the options is to run a program. What happens is. The program launches with no problem, but my batch file does not return to the options window. It stays at a black window. When I close the program, then I returns to my options window. How can I make my batch launch the program and return to my options?
Name: bitbyte Date: April 4, 2003 at 13:38:19 Pacific
Reply:
if you mean MENU is a batchfile and you can select a windows program and the batchfile waits until the widowsprogram ends
then...
you have to run the windowsprogram from the bacthfile with the START command
example -------------
@echo off :a echo after pressing a key the taskmanager starts pause start taskmgr goto a
does it help?
0
Response Number 2
Name: roytam1 Date: April 4, 2003 at 17:53:12 Pacific
Reply:
Why don't you use Start /w ??
example ------------- start /w taskmgr
0
Response Number 3
Name: bitbyte Date: April 5, 2003 at 00:25:47 Pacific
Reply:
start /w has the same effect as you run the program direct from the batchfile, i think he wants that the batchfile does not wait for the end of the called progam
Summary: I have created a very simple batch file to run from a cd which deletes some files/folders on PC, then runs an exe on the cd to install a new, replacement program. This works fine but now I have been r...
Summary: I am using a batch file in Win95 to back up a folder onto a zip drive. Whenever the batch file runs I receive an "Incorrect DOS Version" error. The batch file is written as follows: c: cd\ cd mydocu~...
Summary: I want to run this java program of mine every wednesday and saturday, so I was told a batch file was the best way. Can someone guide me as to how I can tell if it's wed or saturday, and also how to d...