Basic dos problem

I'm trying to create a batch file that will create a new folder every friday, called that days date and copy a file from the network into it.
 
md "c:\%date:/=-%"

This also seems to work. No idea how though. Yep gonna set up a schedule.

Out of interest what do the three sets of numbers after the ~ mean?
 
md "\\snapserver99\SHARE1\Backup Files\%date:~-4,4%-%date:~-7,2%-%date:~-10,2%"

move "\\snapserver99\SHARE1\Backup Files\Small Business Server Backup (04).bkf .................................

How do I move the file to the folder I just created?
 
Back
Top Bottom