View Single Post
Old 05-03-2005, 01:37 AM   #19
DaveHorn
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,146
Quote:
Originally Posted by Malleus Dei
Why don't you post one? It might help somebody out.
Here is mine very simple but gets the job done. Requires winrar which is my preferred zip program.

Save it to a file called ootpbackup.cmd and put it in your OOTP directory and of course change directories and filenames where appropriate.

Code:
set path=%path%;c:\program files\winrar
winrar a -r "Hit For The Cycle%1.zip" @ootpfiles.lst
ootpfiles.lst is nothing more than another file which simply tells winrar what files to archive. Mine simply tells it to store all the dat and txt files, besides boxscores/gamelogs they are the only thing that can not be regenerated. Boxscores and gamelogs can not generally be corrupted AND they take up a ton of space and require a ton of time to archive, so I don't archive them until the completion of a season. Take this file and save it in your ootp directory and of course change the .lg to your own league name.

Code:
"Hit For The Cycle.lg\*.dat"
"Hit For The Cycle.lg\*.txt"
So that is it. You modify and put these two files in you OOTP directory. Open a DOS box go to your OOTP directory and type

Code:
ootpbackup 20050502
And away it goes. "20050502" is nothing more than a descriptor that can be whatever you want it to be.
__________________
Dave
HFTC Commish
DaveHorn is offline   Reply With Quote