Windows 10: Directory Listing

Page 1 of 2 12 LastLast

  1. Posts : 11
    Windows 10 Pro
       10 May 2016 #1

    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

    RBCC said: 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 ComputerSystem Spec

  3.    11 May 2016 #3

    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

    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

    DrPepper said: 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

    RBCC said: 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

    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. Posts : 3,503
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint
       11 May 2016 #8

    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. Posts : 11
    Windows 10 Pro
    Thread Starter
       11 May 2016 #9

    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

    RBCC said: 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

Related Threads
Solved Mystery Phone Listing on Network in Network and Sharing
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...
Solved Startup Program listing in Performance & Maintenance
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
Solved Software listing in Software and Apps
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.
Where is listing of commands for checking activation in Windows Updates and Activation
I just upgraded my win 10 10240 to 1511 10565 but where is a listing of activation commands.
Compatible Network Adapters Listing? in Network and Sharing
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...
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 13:50.
Find Us