Windows 10: Adding date to the name of files and folders

Discus and support Adding date to the name of files and folders in Windows 10 Support to solve the problem; Hi, I would like to add the "Date Created" or "Date Modified" to any files or folders. Possibly by right-clicking on it and running a script from the... Discussion in 'Windows 10 Support' started by XMcQcX, Oct 19, 2020.

  1. XMcQcX Win User

    Adding date to the name of files and folders


    Hi, I would like to add the "Date Created" or "Date Modified" to any files or folders. Possibly by right-clicking on it and running a script from the context menu. Can that be done with autohotkey, batch file or VBS ? Any help would be appreciated

    example: "test.txt" to "test 2020-10-19.txt"

    :)
     
    XMcQcX, Oct 19, 2020
    #1
  2. Graeme.P Win User

    Sort by date added to folder

    Hi there, thanks for your question.

    In File Explorer, all sorting options can be viewed by following these steps:

    - Open the folder and right click inside of it, not on a file.

    - Go to Sort by > More.

    This brings up a list of all possibilities of what to sort by. It doesn't look like there's an options for "date added to folder", but one of the other Date options may help, such as Date Created. You could create a copy of the file and move it in, so that
    the date created matches the date added to the folder?

    Please let me know if you need more information! Thanks!
     
    Graeme.P, Oct 19, 2020
    #2
  3. Junaid_A Win User
    Copying down file folders with names and growing dates

    Hi Ryan,



    Thank you for writing to Microsoft Community Forums.



    To create multiple folders of same name with progressive dates, I suggest you to try the steps listed below and check if it works for you.



    • Open File Explorer and navigate to the location where you want the folders to be created.
    • On the address bar, where the folder path is displayed, erase the folder path and type
      CMD to open a Command Prompt window.
    • Once the Command Prompt window opens, copy paste the following command and hit Enter:



      for %d in (2019.6.17 Job Progress Pics, 2019.6.18 Job Progress Pics, 2019.6.19 Job Progress Pics, 2019.6.20 Job Progress Pics, etc) do mkdir %d




      Note:

      Replace ‘etc’ with rest of the dates for the month. (Eg: ‘2019.6.X Job Progress Pics’ where X is the date)


    • Exit Command Prompt and see if multiple folders are created with the progressive dates on the preferred location.


    Let us know how it goes.

    Regards,
     
    Junaid_A, Oct 19, 2020
    #3
  4. Adding date to the name of files and folders

    Sort by date added to folder

    Sorry - it seems I'm not explaining myself well. I know I can add different columns, what I do not know is if there is a column that will allow you to sort by date added.

    What I mean by that is:

    Lets say that at 9am this morning I added the file cats.jpg to a folder that is full of pictures. Then at 3pm I added the file dogs.jpg. I now want to sort the folder by the date that the file was added. So it would list first dogs.jpg, then cats.jpg
    and on through all the files. Note this is when added, rather than when created/modified/last accessed.

    I've tried lots of different columns with date in them, and none of them seem to be doing what I need. I'm not sure if I'm missing something (because responses to this question suggest it can be done), or if it's actually not possible to know when a file
    was added to a folder (as opposed to created).
     
    Mem_123412, Oct 19, 2020
    #4
Thema:

Adding date to the name of files and folders

Loading...
  1. Adding date to the name of files and folders - Similar Threads - Adding date name

  2. Sort folders by date in name

    in Windows 10 Software and Apps
    Sort folders by date in name: Is it possible to sort my folders by dates in their names? They're named in DDMM format, e.g. 22.10. Ty https://answers.microsoft.com/en-us/windows/forum/all/sort-folders-by-date-in-name/dc463081-1a24-419e-8036-af7f70f634ca
  3. Sort folders by name, but files inside by date?

    in Windows 10 Network and Sharing
    Sort folders by name, but files inside by date?: Hi, I've recently ran into a conundrum that I can't find a solution to. I am trying to organise my collection of photographs. Since a lot of photos only have a random set of letters and numbers for a name such as IMG_78953, it makes sense to order them in their folders by the...
  4. Sort folders by name, but files inside by date?

    in Windows 10 Gaming
    Sort folders by name, but files inside by date?: Hi, I've recently ran into a conundrum that I can't find a solution to. I am trying to organise my collection of photographs. Since a lot of photos only have a random set of letters and numbers for a name such as IMG_78953, it makes sense to order them in their folders by the...
  5. Sort folders by name, but files inside by date?

    in Windows 10 Software and Apps
    Sort folders by name, but files inside by date?: Hi, I've recently ran into a conundrum that I can't find a solution to. I am trying to organise my collection of photographs. Since a lot of photos only have a random set of letters and numbers for a name such as IMG_78953, it makes sense to order them in their folders by the...
  6. Sort files in Explorer folder view by "Date Added to This Folder"

    in Windows 10 Software and Apps
    Sort files in Explorer folder view by "Date Added to This Folder": I'm manually copying a large number of files from one folder to another. The folder names, modified date, and creation date are all irrelevant for keeping track of where I am in the process. The only sort option that would be useful to me is "Date/Time the file was added to...
  7. Sort files in Explorer folder view by "Date Added to This Folder"

    in Windows 10 Network and Sharing
    Sort files in Explorer folder view by "Date Added to This Folder": I'm manually copying a large number of files from one folder to another. The folder names, modified date, and creation date are all irrelevant for keeping track of where I am in the process. The only sort option that would be useful to me is "Date/Time the file was added to...
  8. Sort files in Explorer folder view by "Date Added to This Folder"

    in Windows 10 Gaming
    Sort files in Explorer folder view by "Date Added to This Folder": I'm manually copying a large number of files from one folder to another. The folder names, modified date, and creation date are all irrelevant for keeping track of where I am in the process. The only sort option that would be useful to me is "Date/Time the file was added to...
  9. File Folder Sorting by date in name

    in Windows 10 Network and Sharing
    File Folder Sorting by date in name: I have folders where the name starts with the date. IE: 04.14.21 Name, which is April 14, 2021. How do I sort these by Newest to Oldest date? https://answers.microsoft.com/en-us/windows/forum/all/file-folder-sorting-by-date-in-name/618a448c-717d-40bb-870b-a52badbddc56
  10. Sort by date added to folder

    in Windows 10 Network and Sharing
    Sort by date added to folder: I would like to sort by date added to a folder. None of the date options seem able to recognise when something was added to a folder. Is this possible? This question has been asked many times - but I couldn't find an answer that was current....