TIP: Click on subject to list as thread! ANSI
echo: bluewave
to: Jean Parrot
from: James Bradley
date: 2005-07-03 19:49:32
subject: Batch file

JEAN PARROT wrote to CHARLES JENNINGS, "Batch file" on 07-01-05 20:48


 CJ> It is not really binary or voodoo ;-), just a batch file line.

 JP>       Charles, I could very easily get to hate you. ( not really ).
 JP>   You are showing me my level of incompetency, in binary that is.
 JP>   This would be fine to use. One caveat, I like to understand what
 JP>   I do and this is totally beyond me. I know what a batch file
 JP>   will do if properly composed but I can not compose one.

Oh, you'd be surprized! Save or create a text file called "e.bat" on
your desktop. In that file type the word "exit" and make sure there's
a carridge return at the end. Save the file as a text file, and you're
a batch file programer!

(We used an environment variable called a PATH statement, where you
could congregate all your utilities, and batch files, but I suspect
the desctop would be just as convenient. )

Now, when you have "shelled to the OS", you can stop that by involking
"e" and that will type "exit" for you. Likewise, I have
a batch file
that:

d:
cd\w
win.com

and I call it "C:\bat\w.bat". "C:\bat" is in my PATH,
and the first
place DOS looks for my executable files. When I'm tooling around in
the CLI, and I want to start Windows, I type "w", to change to the
drive, change to the directory, and then start "win.com" all by the
batch file.

Dead simple, and massivly handy. If I have DOS games I'd like to play,
I have one "games.bat" file that then calls other batch files to change
to different directories under my games directory, then execute the
game proper. Once I stop the game, it goes back to the "games.bat"
file asking if I'd like to play a different game, or stop the file.


... James
___ MultiMail/Linux v0.46

--- Maximus 3.01
* Origin: -=-= Calgary Organization CDN (403) 242-3221 (1:134/77)
SEEN-BY: 633/267 270 5030/786
@PATH: 134/77 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.