xcopy file with time stamp

I

inungh

I just wonder can I use xcopy to copy a file name plus time stamp
like
MyDB_Mar_17_2009_30.mdb

The following batch file copy and replace the old one.

xcopy "E:\Databases\MyDB.mdb" "D:\Documents and Settings\user\Desktop
\Database Backup\MyDir\" /c/r/y/a/d/s/v/q


Your help is great appreciated,
 
T

Twayne

inungh said:
I just wonder can I use xcopy to copy a file name plus time stamp
like
MyDB_Mar_17_2009_30.mdb

The following batch file copy and replace the old one.

xcopy "E:\Databases\MyDB.mdb" "D:\Documents and Settings\user\Desktop
\Database Backup\MyDir\" /c/r/y/a/d/s/v/q


Your help is great appreciated,

I doubt many are going to bother interpreting all those flags; heck, try
it and see if it works. OTOH I'm not aware of xcopy being capable of
what you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

back up data base 4
Xcopy 9
SP2 -vs- XCOPY 3
xcopy identical file 6
Problem with batch file for backup using xcopy 7
XCOPY to DVD 6
XCOPY fails in Vista 12
Bug In NTFS Date/Time in Windows XP SP3 Fully Patched 8

Top