SHARE
TWEET

Untitled

a guest Feb 21st, 2015 292 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set year=%date:~6,4%
  2. set day=%date:~3,2%
  3. if "%day:~0,1%" == " " set day=0%day:~1,1%
  4. set month=%date:~0,2%
  5. if "%month:~0,1%" == " " set month=0%month:~1,1%
  6. set datetimef=%year%_%month%_%day%
  7. echo datetimef=%datetimef%
  8.  
  9. xcopy "C:\Users\xxxxx\Documents\Unity\PornulusRift" "\\xxxxx\Download\Unity\Projects\PornulusRift_%datetimef%" /E /I /Y
  10. xcopy "C:\Users\xxxxx\Documents\Unity\PornulusRift\Assets\Scenes" "\\xxxxx\Download\Unity\Scenes\Scenes_%datetimef%" /E /I /Y
  11. forfiles -p "\\xxxxx\Download\Unity\Projects\" -s -m *.* /D -7 /C "cmd /c del @path"
RAW Paste Data
Top