I try to make a batch file that will create a back-up folder of my game every time I close it but when i try it it just say that my destination name is invalid here's what I tried:
set name='\save\world|%date%-%time%'
echo R | xcopy world %name% /E/H
pause