xcopy file with time stamp

  • Thread starter Thread starter inungh
  • Start date Start date
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,
 
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.
 
Back
Top