linuxpeter.de
  Batch, Scripts, Tools & Tips > Windows Batch and Tools  
 
Windows Batch and Tools
Übersicht Remote shutdown tool for dlink DNS-323 >>
CoD4 mpdata backup Batch to backup your CoD4 player stats

With this batch, you can backup your Call of Duty4 player stats, that are stored on your harddisk.
Let the scheduled tasks planner do it daily and nothing will be lost

--------------CODE START--------------------------------------

@ECHO OFF
::NO changes from here .................
SET TAG=%DATE%
SET ZEIT=%TIME%
SET ZEIT=%ZEIT: =0%
SET ZEIT=%ZEIT::=%
SET ZEIT=%ZEIT:,=%
set stunde=%ZEIT:~-8,2%
set minute=%ZEIT:~-6,2%
set sekunde=%ZEIT:~-4,2%
set zeit=%stunde%%minute%%sekunde%
::...to HERE!!!!
:: Enter the path you need, f.e. C:\Program Files\Activision\Call of Duty 4\players\profiles\PROFILENAME\mpdata
set SOURCE="C:\Programme\Activision\Call of Duty 4 - Modern Warfare\players\profiles\PLAYERNAME\mp*"
set TARGET="C:\Backups\CoD4-Backup\"
::nothing left to change beyond that line
echo "Copy mpdata to %TARGET% mpdata-%TAG%-%zeit%"
XCOPY /Y /I %SOURCE% %TARGET%mpdata_%TAG%-%ZEIT%

--------------CODE END--------------------------------------



Zuletzt geändert von Bikerpete (admin)  am Nov 11 2008  um 11:34 PM
Übersicht Remote shutdown tool for dlink DNS-323 >>


Info

Buy me a coffee ...


 
Top! Top!