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. File folder name

    in Windows 10 Network and Sharing
    File folder name: When I'm trying to type a name into a new file, it will stop me after so many characters. What is going on? How do I fix this? https://answers.microsoft.com/en-us/windows/forum/all/file-folder-name/87c6a0f0-b69b-4506-ac4f-3d340bdc3f21
  3. How to sort files by 'date added to folder' to undo copy or move manually

    in Windows 10 Ask Insider
    How to sort files by 'date added to folder' to undo copy or move manually: Couldn't find straight forward answer to this. Accidentally moved a load of partial downloads into a folder I had been sorting so mixed things up. Cancelled half way through. Wanted to sort which ones were last added to folder to remove/ move back. 'Sort by date created'...
  4. Underline on file and folder names

    in Windows 10 Network and Sharing
    Underline on file and folder names: All of my folders and file names are underlined -- how can I fix it? https://answers.microsoft.com/en-us/windows/forum/all/underline-on-file-and-folder-names/f087662f-ecd5-4e1e-a609-190453b41949
  5. .qhpha added to file names

    in AntiVirus, Firewalls and System Security
    .qhpha added to file names: THIS DESCRIPTION SUDDENLY HAS CHANGED MY VIDEO COLLECTION WHAT THE HELL IS IT CANNOT FIND ITFO ON IT ANYWHERE VIRUS CHECKED OK VIDEO FORMAT NOT KNOWN CANNOT PLAY FILE NOT SUPPORTED HELP * Moved from Music & Video * Original title: .qhpha...
  6. Copying down file folders with names and growing dates

    in Windows 10 Network and Sharing
    Copying down file folders with names and growing dates: Good evening I have to make multiple folders with the same name but a different date for each day. Is there a way to do this without having to name 30 folders in a month "2019.6.17 Job Progress Pics"...
  7. Onedrive creates duplicate files with PC name added to file name

    in Windows 10 Network and Sharing
    Onedrive creates duplicate files with PC name added to file name: This was sort of asked before, but the discussion closed by administration without an answer being found: https://answers.microsoft.com/en-us/onedrive/forum/odwork-odedit/onedrive-creates-duplicate-file-name-with-pc-name/18f1fd5c-b217-49ee-8552-fa118a25bf1e?page=1. I use...
  8. Moved files with Windows but date stamp was added

    in Windows 10 Network and Sharing
    Moved files with Windows but date stamp was added: I was cleaning up photo files and consolidated them on one drive but then realized that windows had added a date stamp into the file name. As a result Lightroom can not find the files. I can point lightroom to each file, or go into file explorer and delete the date stamp, but...
  9. 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....
  10. Adding User to Correct User Folder Name

    in User Accounts and Family Safety
    Adding User to Correct User Folder Name: So when I did a system restore on my computer to return it back to factory default...I logged in using my Microsoft account which is an email starting with "Boo......." However my name on my Microsoft account is "Summer"...It's always been "Summer" all my folders in the past...