sopheak
asked on
MOve file to another directory and rename it.
In windows 2003 server.
I want to copy a file from one folder to another and then rename the file in the destination to also include the current date.
Something like this, except I do not know how dynamically add the date part.
xcopy c:\2\cube.txt c:\1\cube01052009.txt
Thansk
sopheak
I want to copy a file from one folder to another and then rename the file in the destination to also include the current date.
Something like this, except I do not know how dynamically add the date part.
xcopy c:\2\cube.txt c:\1\cube01052009.txt
Thansk
sopheak
ASKER
yes the source will always be the same. The destination will change according to the date.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ie, will teh source always be c:\2\cube.txt and will the destination always be in c:\1\ ?