this image contains text
REM Yo dude! I created this little file for your conv
enience, so you can
REM easily start duke nukem 3d, tha rocking game, wit
h the help of a .bat file!
REM Every line that starts with REM contains an exp
lication of the line above
REM it without a REM in the beginning. I hope you
like this, because I have
REM worked a long time on this one!
REM But mind: THIS IS ONLY AN EXAMPLE!!
@echo off
REM This disables your prompt, so you dont see the
c: or the c anymore!
cls REM This one isnt very difficu
lt, some of you might know this: it clears the
REM screen..
d:
REM Change the active drive to the D drive.. This c
an be another drive in
REM your case !!
cd
REM This changes the active directory to the root dir
ectory. If you dont know
REM what a root directory is, look in your MS-DOS man
ual.
cd duke3d
REM Changes the active directory to the directory whe
re the game is located
REM With Duke Nukem 3d, this is duke3d most of the
times...
if 1-s goto runsetup
if 1/s goto runsetup
if 1s goto runsetup
REM This is a difficult one.. an IF statement.. ok:
REM it says: If the first thing you wrote behind the
.bat filename you ran
REM at the dos prompt is: either -s or /s or s,
go to the section in this
REM batch file called runsetup.. this section is ye
t to come..
duke3d.exe
REM This command runs the game executable file, the g
ame will be started!
goto end
REM Commands the command-processor to go to the end
section in this file
:runsetup
REM The : indicates the beginning of a section, whi
ch is the runsetup
REM section in this case.
setup.exe
REM Runs the setup.exe executable file, the duke nuke
m 3d setup program will
REM be started.
:end
REM Same as :runsetup, but in this case, its the b
eginning of the end
REM section.
cd
REM Changes the active directory to the root director
y of the active drive
REM for more info --- MS-DOS manual, hahaha, RTFM
REM -------------------------------------------------
REM Thats it people! I hope you have learned somethi
ng today!!
REM -------------------------------------------------
REM
CU L8ER
REM
THORAX!
REM
REM PS. If u have problems concerning batch files, m
ail me: thorax@cryogen.com
enience, so you can
REM easily start duke nukem 3d, tha rocking game, wit
h the help of a .bat file!
REM Every line that starts with REM contains an exp
lication of the line above
REM it without a REM in the beginning. I hope you
like this, because I have
REM worked a long time on this one!
REM But mind: THIS IS ONLY AN EXAMPLE!!
@echo off
REM This disables your prompt, so you dont see the
c: or the c anymore!
cls REM This one isnt very difficu
lt, some of you might know this: it clears the
REM screen..
d:
REM Change the active drive to the D drive.. This c
an be another drive in
REM your case !!
cd
REM This changes the active directory to the root dir
ectory. If you dont know
REM what a root directory is, look in your MS-DOS man
ual.
cd duke3d
REM Changes the active directory to the directory whe
re the game is located
REM With Duke Nukem 3d, this is duke3d most of the
times...
if 1-s goto runsetup
if 1/s goto runsetup
if 1s goto runsetup
REM This is a difficult one.. an IF statement.. ok:
REM it says: If the first thing you wrote behind the
.bat filename you ran
REM at the dos prompt is: either -s or /s or s,
go to the section in this
REM batch file called runsetup.. this section is ye
t to come..
duke3d.exe
REM This command runs the game executable file, the g
ame will be started!
goto end
REM Commands the command-processor to go to the end
section in this file
:runsetup
REM The : indicates the beginning of a section, whi
ch is the runsetup
REM section in this case.
setup.exe
REM Runs the setup.exe executable file, the duke nuke
m 3d setup program will
REM be started.
:end
REM Same as :runsetup, but in this case, its the b
eginning of the end
REM section.
cd
REM Changes the active directory to the root director
y of the active drive
REM for more info --- MS-DOS manual, hahaha, RTFM
REM -------------------------------------------------
REM Thats it people! I hope you have learned somethi
ng today!!
REM -------------------------------------------------
REM
CU L8ER
REM
THORAX!
REM
REM PS. If u have problems concerning batch files, m
ail me: thorax@cryogen.com
log in to add a comment.