.bat files
- Darkside Heartless
- DBB Captain
- Posts: 562
- Joined: Tue Dec 09, 2003 3:01 am
- Location: Spring City PA
- Contact:
.bat files
how do I make a .bat file? My dad made one for the other computer for Medal of honor auto-saves.
- CDN_Merlin
- DBB_Master
- Posts: 9781
- Joined: Thu Nov 05, 1998 12:01 pm
- Location: Capital Of Canada
- Darkside Heartless
- DBB Captain
- Posts: 562
- Joined: Tue Dec 09, 2003 3:01 am
- Location: Spring City PA
- Contact:
- Warlock
- DBB 3D Artist
- Posts: 3370
- Joined: Wed May 12, 1999 2:01 am
- Location: Midland, Tx, U.S.
- Contact:
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>
<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>
- Mobius
- DBB_Master
- Posts: 7940
- Joined: Sun Jun 03, 2001 2:01 am
- Location: Christchurch, New Zealand
- Contact:
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."
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."