I was writing some more backup scripts. I wanted to save the files by the date.
This will format the date in a command line as MM/DD/YYYY
%date:~4,2%-%date:~7,2%-%date:~10,4%
I was writing some more backup scripts. I wanted to save the files by the date.
This will format the date in a command line as MM/DD/YYYY
%date:~4,2%-%date:~7,2%-%date:~10,4%