CMD Echo date but show month as string
- by Asim Rehman
I am using the robocopy command to create a backup system, I have successfully managed to copy the folders, but the date stamp is wrong. The folders are prefixed with the date and time .
The robocopy command is this:
robocopy U:\Data\ X:\Private\Backups\FolderName_%date:/=-%-(%time::=-%) /e
The out of the folder is displayed like this:
FolderName_09-11-2013-(20-24-06.60)
The only thing I want to change is the date, I want to show the month as a string with only the first 3 characters like Oct.
Can someone please guide me. Thanks.