DF-21 Forums Forum Index DF-21 Forums
The Dark Forces Community
 
DF-21.net Home | FAQ | Search | Memberlist  | Register 
Profile | Log in to check your private messages | Log in

how to make a .bat file

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing
View previous topic :: View next topic  
Author Message
eargosedown
Gamorrean

Joined: 12 Feb 2004

PostPosted: Mar 31, 2004 01:59    Post subject: how to make a .bat file View user's profile Send private message Reply with quote

does anybody know how to make a .bat file????

_________________
destroying an imperial base a day keeps the dark troopers away.

Cory_Buford
Ree-Yees

Joined: 26 Mar 2004

PostPosted: Mar 31, 2004 03:06    Post subject: Batch File Help View user's profile Send private message Send e-mail Reply with quote

Hey there,

I have a great MS-DOS 7.0 reference in HTML if you, or anyone else for that matter, would like me to upload it. In the mean time, just open a text editor and type, or copy, the following:

@echo off
cls
dark -ufilename.gob -shots

and save it. That's all there is to it. Feel free to contact me for any additional help you may need.

May the Force be with you...always...

_________________
Cory Buford
cbuford@gwmo.com
http://www.gwmo.com
GateWay Marketing Online
Sr. Web Designer/Developer

Come view our current projects:

http://www.gwmo.com/qualifications

Nottheking
Kell Dragon

Joined: 29 Sep 2003

PostPosted: Mar 31, 2004 18:53    Post subject: View user's profile Send private message Reply with quote

Of course, If you'd like a bit of a fancier batch (.bat) file:
Code:
@Echo Off
cls
DARK -u********.GOB -shots
cls
:Echo Thanks for playing!

I think I got that right... The last .bat file I made was the one for my last level, almost a year ago...

_________________
Wake up, George Lucas... The Matrix has you..

eargosedown
Gamorrean

Joined: 12 Feb 2004

PostPosted: Apr 01, 2004 01:42    Post subject: View user's profile Send private message Reply with quote

oh it at a txt file.
i thought it was at the ms-dos thing.
ok thats esay.

_________________
destroying an imperial base a day keeps the dark troopers away.

Nottheking
Kell Dragon

Joined: 29 Sep 2003

PostPosted: Apr 01, 2004 02:25    Post subject: View user's profile Send private message Reply with quote

eargosedown wrote:
ok thats esay.


Just remember, when you go to the "save as" diologue, you make sure it doesn't say "save as: Text file (*.txt)". Otherwiseyou'll wind up saving it as mocbros.bat.txt...

_________________
Wake up, George Lucas... The Matrix has you..

The MAZZTer
Death Star
Death Star

Joined: 25 Sep 2003

PostPosted: Apr 01, 2004 13:52    Post subject: View user's profile Send private message Send e-mail Reply with quote

NTK: Your batch file won't do the echo, because you put it as a label. Razz

I wrote batch files for a bit before Windows 95 came around (well, before I used it at leasr), and even after then... and even in Windows XP there are still places to use them (for example, I used one recently in conjunction to a mIRC script to change the working directory before running a program... Very Happy)

_________________
http://www.mzzt.net/ | I am a respectable admin with a respectable sig.

eargosedown
Gamorrean

Joined: 12 Feb 2004

PostPosted: Apr 02, 2004 03:01    Post subject: View user's profile Send private message Reply with quote

ok thanks

_________________
destroying an imperial base a day keeps the dark troopers away.

Nottheking
Kell Dragon

Joined: 29 Sep 2003

PostPosted: Apr 02, 2004 18:28    Post subject: View user's profile Send private message Reply with quote

The_Mega_ZZTer wrote:
NTK: Your batch file won't do the echo, because you put it as a label. Razz


I knew I had something wrong! I fogot that you simply use "Echo" to print a line of text... For some reason, I was thinking that the colon was needed... I forgot that it was mean for labels... It's been quite a while since I've last worked with batch files...

_________________
Wake up, George Lucas... The Matrix has you..

Display posts from previous:   
Post new topic   Reply to topic    DF-21 Forums Forum Index -> Dark Forces Levels & Editing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group