Hello guys,
I am not sure if I am on the right forum section for this question, if not please lead to the right direction. Thanks
I am trying to create a batch file, for archiving purposes, to copy a file and paste into another folder, I created this code from notepad and it correctly copies and paste the said file into another folder:
xcopy "[source folder]" "[destination folder]" /Y/Q
What I would like to try though is that when it is pasted into the destination folder, is there a way that I could rename the file to add today's date? so example test.xls is the file I want to copy, when it's copied into the destination folder, the file name should be test7/15/2010.xls
Is there a way to automatically add the date, or anything that could have a work around for that?
Thanks!
I am not sure if I am on the right forum section for this question, if not please lead to the right direction. Thanks
I am trying to create a batch file, for archiving purposes, to copy a file and paste into another folder, I created this code from notepad and it correctly copies and paste the said file into another folder:
xcopy "[source folder]" "[destination folder]" /Y/Q
What I would like to try though is that when it is pasted into the destination folder, is there a way that I could rename the file to add today's date? so example test.xls is the file I want to copy, when it's copied into the destination folder, the file name should be test7/15/2010.xls
Is there a way to automatically add the date, or anything that could have a work around for that?
Thanks!