1.

Solve : Batch File continuation after execution of program?

Answer»

I wrote a DOS batch file to ERASE and transfer files before
loading NetScape 7.2

Now I would like to have that batch file CONTINUE running
AFTER NetScape has been EXITED to erase some files.

How can one do this?

Usually the batch file is GONE after exiting a called up
exe file.

i.e.

dos action
dos action
dos action
RUN NetScape.exe
erase files

Like that.

DoctorBillAre you wanting it to basically pause while Netscape is running and resume after Netscape closes?

If so you can remove the "run" part

dos action
dos action
dos action
NetScape.exe
erase files

or you can use the pause command.....

dos action
dos action
dos action
run NetScape.exe
pause
erase filesNope - putting NetScape.exe in there starts NetScape alright, but the batch file then continues on and finishes.

Yes, I want it to pause, BUT - I don't want to have to mess with pressing a key or to have to interact with it at all....

There must be some way to have THINGS run sequentially w/o any human interaction.

Run A then when A is *done*
Run B then when B is *done*
Run C and end.

Can THAT be done using DOS batch files?

I'm doubting it!

DoctorBill
Let's see the rest of the batch file.

What version of Windows are you running this batch file under?



Discussion

No Comment Found