//flex table opened by JP

Click to See Complete Forum and Search --> : Batch file I made for my brother's birthday


matthew13l
07-20-2003, 04:23 AM
I have twin brothers, and they turned 21 yesterday (I'm 15 BTW). One of my brothers has a mac, so I couldn't send him the file. My other brother has a PC. He's in the airforce and just finished 2 years in italy and is now in cali for the rest of his 4 year enlistment (ok that had nothing to do with this thread but I like to talk about him ). I made a batch file, and sent it to him. I told him it was a game I made for him.

http://members.aol.com/matthew13l/Game.bat

Download and run the batch file, and tell me what you think. It wont harm your computer or anything (read the code if you want). It only functions correctly under windows xp though. I'm not sure if all the commands execute correctly under windows 9x.

cwin
07-20-2003, 04:44 AM
cool.. :D

gjimene2
07-20-2003, 05:01 AM
really nice :)

matthew13l
07-20-2003, 06:10 AM
Thanks. My brother must not be checking his email because he hasn't replied to the email yet. Or maybe he did read the email and downloaded the "game" but he thought the "program" was eating his hard drive so he turned off his computer and took it to a tech to remove the "virus" before it eats all his unreplaceable data. Well, ok, that's highly unlikely, especially since my brother is pretty smart with computers (still catching up with me though;)).

iceblue
07-20-2003, 06:26 AM
cool... i remember making bat files.

only thing is if he has no C:\windows then it might not have the desired effect :)

cwin
07-20-2003, 02:26 PM
somebody round here zapped their drive because of one of those "format" pranks earlier:(

j.m@talk
07-20-2003, 05:36 PM
Whoa I was stressed there for a second :eek:

oobootsy1
07-20-2003, 07:09 PM
what is a batch file? sorry, im new to file extenstions and there meanings:)

j.m@talk
07-20-2003, 07:17 PM
Originally posted by oobootsy1
what is a batch file? sorry, im new to file extenstions and there meanings:)

You know anything about dos? :t

oobootsy1
07-20-2003, 07:27 PM
Originally posted by j.m@talk21.com


You know anything about dos? :t

um.............NO:rolleyes:

j.m@talk
07-20-2003, 07:34 PM
Originally posted by oobootsy1


um.............NO:rolleyes:

Well I'm afraid we got prblems here then............. :(

Looks like ya gonna have to do some learnin )-|

oobootsy1
07-20-2003, 07:35 PM
um. ok. um yea. bye

dmoltrup
07-20-2003, 08:01 PM
Originally posted by oobootsy1
what is a batch file?A batch file is just a text document that is essentially a list of commands. They are used by the computer in a mode called DOS. DOS is the first thing your computer loads (before Windows), when you turn it on. Most of the time, DOS is a non-graphical black screen (again, like when you first turn your computer on). Years ago, before the Windows operating system came along, computers looked like this. Black with white text.

Basically, when in DOS, you would type commands, and the computer would perform that command and then return to just a cursor blinking. The commands were things such as FORMAT (to format a floppy disk) or DIR (which, after pressing enter would show you the files in the current directory DOS was looking at.

You could copy files, delete files, edit files, or load programs. Of course there was a lot more, but this is a simple explanation.

To run a program, you would simply type the program's name.
WORD would be your word processor, NORTON would be your virus checker or system utilities, and finally, INDY500 would be your racing game.

If you want to try DOS, go to your Start menu, select 'Run...', then type COMMAND.COM, and press Enter.

Going back, a batch file is simply a list of DOS commands that the computer executes one right after another. Most batch files were like shortcuts on your desktop. You could type the name of a program and the batch file would find the program, and run it with the options you wanted. Other batch files might install a program from a compressed archive, or some other batch files were put together to create a "menu" of your more popular programs on your hard drive.

oobootsy1
07-20-2003, 09:03 PM
extremely good explanation man. thanx alot!!

cwin
07-21-2003, 03:08 AM
i was ready for the screen blanking on me. (i looked at the code before running - check for dangers :eek: like DELTREE C:\WINDOWS) :D

causticVapor
07-21-2003, 02:49 PM
I don't get why they didn't put deltree and format on the old win98 boot disks. It made life a hell of a lot harder than it should have been.:rolleyes: