Ok. I think I have a solution. I have only tested this using Windows XP, it should also work with Windows NT. For Windows 9x the batch file would have to be different as the "FOR" command isn't available.
Step One,
Create a folder to backup your games to. I created a folder in the TWGS folder named BACKUP
Step Two,
Create the following Batch file. (I used notepad) and save it. I saved mine in the TWGS folder as TWGSBKUP.BAT
-------------
BATCH FILE
-------------
for /f "delims=" %%a in ('DATE /T') do set Date=%%a
for /f "tokens=2-4 delims=/ " %%a in ('DATE /T') do set Date=%%c%%b%%a
rem
rem Change the path below to where your BACKUP Directory is
rem
cd "C:\Program Files\EIS\TWGS\BACKUP"
md %Date%
cd %Date%
rem
rem Change to path below to where your game directory is
rem
xcopy "C:\Program Files\EIS\TWGS\GAME\*.*" /E
Step Three, Add to scheduler in TWGS
1) Stop server if already running
2) From Menu Select Server|Configure
3) Click on Scheduler TAB
4) Type in name where it says (I used Backup)
5) Click on ADD
6) Click on BROWSE and select the batch file you created (TWGSBKUP.BAT)
7) Verify mode is set to daily and select time of backup

Check Box to Disable Server and set delay to notify players
9) Type message in box under disable server (Optional)
I used (Server is shutting down for daily backup)
10) Check Box to make Active (It is above the BROWSE button)
11) Click on OK and Start the server back up.
Step Four, TEST and your are done.
I recommend backing everything up the 1st time you try this and testing it while you can watch. Also, be aware of how much disk space the backups take up. If you do not have Gigabytes of free drive space the backups could fill up your drive while your aren't watching.
Let me know if you have any questions or need help.
Have Fun,
Rand Al Thor, The Dragon Reborn
Let the Dragon ride the winds of time...
Edited by - Rand on July 17 2002 7:57:57 PM