Page 1 of 2 12 LastLast
  1.    10 May 2016 #1
    Join Date : Nov 2015
    Posts : 11
    Windows 10 Pro

    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?
      My ComputerSystem Spec
  2.    11 May 2016 #2
    Join Date : Jul 2014
    Serbia
    Posts : 10,627
    W10 Insider + Linux

    Quote Originally Posted by RBCC View Post
    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.
      My ComputersSystem Spec
  3.    11 May 2016 #3
    Join Date : Mar 2016
    Posts : 111
    W10

    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:\test | 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
    
    
    
    
        }
      My ComputerSystem Spec
  4.    11 May 2016 #4
    Join Date : Aug 2015
    Central VA
    Posts : 10
    Windows 10

    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.
      My ComputerSystem Spec
  5.    11 May 2016 #5
    Join Date : Mar 2016
    Posts : 111
    W10

    Quote Originally Posted by DrPepper View Post
    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.
      My ComputerSystem Spec
  6.    11 May 2016 #6

    Quote Originally Posted by RBCC View Post
    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.
      My ComputerSystem Spec
  7.    11 May 2016 #7
    Join Date : Jan 2015
    Posts : 695

    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.
      My ComputerSystem Spec
  8.    11 May 2016 #8
    Join Date : Aug 2014
    Forever West
    Posts : 3,986
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    If you want the date before the file name just click on the title of the column and drag the column to the left.
      My ComputerSystem Spec
  9.    11 May 2016 #9
    Join Date : Nov 2015
    Posts : 11
    Windows 10 Pro
    Thread Starter

    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
    Last edited by RBCC; 11 May 2016 at 22:34.
      My ComputerSystem Spec
  10.    12 May 2016 #10
    Join Date : Mar 2016
    Posts : 111
    W10

    Quote Originally Posted by RBCC View Post
    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?
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Solved Mystery Phone Listing on Network
I upgraded my desktop PC and my laptop to Windows 10. All went fine. However, my desktop and laptop network icons show a phone that I don't have (I think it's an Android). My network map (in Netgear genie) doesn't show anything that shouldn't be...
Network and Sharing
Solved Startup Program listing
Noticed this under my startup programs but it does not show to be running. Should I remove it or what? Uninstall C:\Users\%username%\AppData\Local\Microsoft\OneDrive\17.3.5892.0626\amd64 Ron
Performance & Maintenance
Solved Software listing
So on my Mac I go to macupdate.com to find new software. Is there a similar place for Windows? I'm not talking softonic or cnet or download.com where you mostly get malware and crap. Something fairly decent. Not looking for anything specific.
Software and Apps
Where is listing of commands for checking activation
I just upgraded my win 10 10240 to 1511 10565 but where is a listing of activation commands.
Windows Updates and Activation
Compatible Network Adapters Listing?
Is there a listing of what network adapters are compatible with Win10? I am told the adapter I am using is NOT compatible. I am not adverse to purchasing a different one and installing it to get around this problem but I'd like to be able to verify...
Network and Sharing
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 01:52.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums