Location:
State:
Carrier
Country
Status

Directory Listing


How do I create my File names with the date at the front of the so that all the files are sorted mm-yy?

How do I create my File names with the date at the front of the so that all the files are sorted mm-yy?
You can set "Sort by date" in the explorer but otherwise you'd have to name/rename files yourself. There are few bulk file renamer programs to do it faster.

For new files you'll have to do it when saving i suppose.

For existing files you could write a script that looks at the creationtime and converts it to a date.
Then you would rename the file by adding the creationtime in front of the filename.
With powershell this would look like:
Code:
 $files = gci c:	est | select CreationTime, Basename, Fullname, Extension     foreach ( $x in $files)     {         $date = $null         # retrieve date         $d = $x.CreationTime.Day         $m = $x.CreationTime.Month         $y = $x.CreationTime.Year         #convertdate to string         $date = $d.ToString() + '_' + $m.ToString() + '_' + $y.ToString()             #rename file with prefix date        $newname = $date + '_' + $x.BaseName + '_' + $x.Extension        Rename-Item -path $x.Fullname -NewName $newname         }

I've used a format like this to sort by date.
2016-05-11-01-filename.doc Pretty simple: year-month-day-version #, a name I'll recognize. I've used version number when I wanted to save previous edits of a file.
It worked for me, hope it helps you.

I've used a format like this to sort by date.
2016-05-11-01-filename.doc Pretty simple: year-month-day-version #, a name I'll recognize. I've used version number when I wanted to save previous edits of a file.
It worked for me, hope it helps you.
Yup i have the same sort of naming convention. There are lots of articles written about subjects like these, bottom line : keep it simple.

How do I create my File names with the date at the front of the so that all the files are sorted mm-yy?
If you go to the file explorer you can order the display by any column you want by clicking in the heading. If you right click in the heading row it will allow you to add/remove columns from the view in Explorer. Date Modified and Date created are 2 date columns you can sort by.

Bulk Rename Utility, 32bit or 64bit, free or pay-for, will also do the trick; take time and care! A mistake can take lots of time to correct. If you're doing to do the date-in-front, I second the earlier posters' choice of yyyy-mm-dd format.

If you want the date before the file name just click on the title of the column and drag the column to the left.

Is there a rename utility that will count the date such as 60-12-01 , 60-19-01 , ect., that allows you to use your own "seed" date? And counts through and end date? Also doesn't use the computer date? John

Is there a rename utility that will count the date such as 60-12-01 , 60-19-01 , ect., that allows you to use your own "seed" date? And counts through and end date? Also doesn't use the computer date? John
I'm not following this, could you please explain a bit more?

Directory Listing

Related Posts :

  • Shutdown BSODHello --If I shutdown my computer using Start > Shutdown, I get at least one BSOD during the next boot-up; however, no BSODs occur if I… Read More...
  • Windows 10 destroyed my pcHiWindows 10 has been good to from the start to the latest updates. First it wouldn't let me use my keyboard anymore, and yes it works on an… Read More...
  • EdgeI have Internet Explorer set as my default browser.Each time I click on a link to website (often in an email) Windows asks which App to use … Read More...
  • Windows 10 causing system crashesHi everyone,Just before I start, I thought i'd mention that this is a sort of last resort so hopefully someone on here has more knowledge th… Read More...
  • Everything is too big in Windows 10I'm just about fed up with Windows 10. I've been trying to get this thing working properly for 24 hours now.I used the website link everyone… Read More...