1.

Solve : i need help with a batch file?

Answer»

I need help with this BATCH file (my first) to run DOSbox from the command prompt and then type in some commands in DOSbox, OTHERWISE it takes ages to type in everything everyime I want to play a particular game. So far it looks like this;

@ECHO OFF
CD DOCUME~1\ALPHA\MYDOCU~1\DOSUTI~1\DOSBOX
DOSBOX
>>>>>>>>>>this is where the Batch file needs to swap from dos prompt to dosbox and carry on typing in DOSbox<<<<<<<<<<<
MOUNT C C:\
C:
CD DOCUME~1\ALPHA\MYDOCU~1\DOSGAM~1\TOWERS
TOWERS

Can anyone help me fill in the gap? whenever i try to run it it just carrys on running int theoriginal dos prompt window instead of dosbox.

oh, i just remembered, what command can i use in a batch file to MAKE the computer 'wait' a couple of seconds before carying on with the rest of the programme?You are dealing with two separate environments. Does your batch file bring up DOSBox? Once DOSbox is executed, control is passed out of your batch file and into the new environment. You may have to use the DOSBox autoexec.bat file to finish setting up the new environment.

Just a thought. Thanks, i'll give it a try!



Discussion

No Comment Found