Batch to rename file with date - TechRepublic
General discussion
July 31, 2002 at 04:43 PM
typamfiloff

Batch to rename file with date

by typamfiloff . Updated 23 years, 10 months ago

I’m looking to archive files for backup and want to automate everything. What I need is a Batch,or vb or C++(understand a little vb and c++ but am not much of a programmer) to grab the system time and rename an archive with the date(automatically
in th filenamelike this:
c:\data.zip
to
c:\data020731.zip

the date format is in year/month/day
It would be even better if it grabbed the time from the date modified

This discussion is locked

All Comments