Advertisement
meetsos

Copy file as backup with date in name

Dec 21st, 2017
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.12 KB | None | 0 0
  1. copy C:\Users\Jack\Documents\filename.txt C:\Users\Jack\Documents\Backups\filename%date:~0,2%%date:~3,2%%date:~6,4%.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement