Mark L. Ferguson
FAQ for Windows Antispy http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
"jrozen" <email@example.com> wrote in message news:EE80A52B-323C-4E99-89E0-FFA694606E92@microsoft.com...
> I'm trying a copy command but I want the resulting file to be named today's
> date. For example:
> I have 6 .txt files in a folder C:\test
> I want to combine all six files and rename the result with today's date in a
> different location, say C:\import
> My batch command would start:
> copy C:\test\*.* C:\import\[date].txt
> I need to know how to get that date to appear as the file name. I tried
> that %~t1 thing and couldn't get anywhere with it.
> Any help would be appreciated.