1.

Solve : Save file name with date at end of file name....?

Answer»

I would like to COPY an existing file (bridium.txt) and save it to another location but with the current date in the file NAME (bridium06012010.txt). How do I accomplish this with a bat file?I got it figured out.....

for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "bridium.txt" bridium%%e-%%f-%%g.txt
That will only WORK for PEOPLE with US style date formatting.



Discussion

No Comment Found