Eljefegeneo
Still trying to learn
- Local time
- Today, 13:31
- Joined
- Jan 10, 2011
- Messages
- 902
I have been trying to figure out how to add the date to the new file that is copied with the code:
xcopy /s C:\Users\Gene\Desktop\Folder1\DBMain.accdb C:\Users\Gene\Desktop\Folder2\
I have looked everywhere, copied various codes that said it could be done, but I still can't get it to work.
What I want to to have the new file in Folder2 be DBMaind_DateAndTime
where DateAndTime would be the Date and Time that the copy was made.
xcopy /s C:\Users\Gene\Desktop\Folder1\DBMain.accdb C:\Users\Gene\Desktop\Folder2\
I have looked everywhere, copied various codes that said it could be done, but I still can't get it to work.
What I want to to have the new file in Folder2 be DBMaind_DateAndTime
where DateAndTime would be the Date and Time that the copy was made.