Advertisement
Guest User

_backups_full.bat

a guest
Sep 25th, 2014
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. @echo off
  3. EndLocal
  4. SetLocal EnableDelayedExpansion
  5.  
  6. set currtime=%TIME%
  7. set hours=!currtime:~0,-9!
  8. set minutes=!currtime:~3,-6!
  9. set seconds=!currtime:~6,-3!
  10. set centiseconds=!currtime:~9!
  11. set filename=__full-%DATE%-%hours%_%minutes%_%seconds%.%centiseconds%
  12.  
  13. misc\7za a -t7z backups\"%filename%".7z *.vmf *.qc ..\hl2\modelsrc ..\hl2\materialsrc prefabs *.rad *.lst ..\hl2\scripts -mx9
  14.  
  15. EndLocal
  16. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement