Create Folders Automatically by Date in Windows

Windows has no built-in switch for dated folders, but several approaches get you there. Here is how each works and how to choose between them.

Title card from Quantum Manager's NorrNext documentation reading "How to automatically create folders with the current date" on a blue gradient.
In this article

Creating folders automatically by date in Windows means a folder gets named with today’s date (or another chosen date) without you typing it. You get something like a new folder each morning for that day’s work, with no manual naming.

File Explorer can’t do this on its own. Its New folder command only produces generic names, and if you never rename them you end up with “New Folder (18)” and “New Folder (19)” scattered around. [1]

People ask for this all the time. One reader wanted a new folder every day, named with the current date, to keep a record of that day’s work [2], and another wanted a folder for the previous work date [3]. Photo imports are a common case too. This article previews the options: a script, a scheduled task, or a file-sorting tool.

Key takeaways

  • A dated folder is named from the date, not typed by you.

  • Explorer’s New folder gives only numbered generic names.

  • Scripts, scheduled tasks and sorting tools can do the job.

How do dated folders get created without typing the name?

A dated folder gets its name from the system date: a script or tool reads today’s date, turns it into text, and creates a folder with that text. Nothing is typed by hand, which is why the date’s format matters. Related reading: How to Create Folders From a Text File in Windows.

Pick a format that sorts

Folders named this way line up in true date order in File Explorer, while formats that start with the month or day mix years together. Windows also does not allow slashes in file and folder names, so a date like 03/14/2025 has to be changed, for example by using dashes as separators. [1]

Three ways to trigger it

  • You run it. You start a script or flow yourself, once a day or whenever you need it. One forum example uses a Power Automate flow that asks for a base folder, checks whether today’s folder already exists, and creates it if not. [2]

  • A schedule runs it. The same script starts on its own at a set time, so the folder is there when you sit down.

  • Arriving files trigger it. A tool watches a folder and files each new file into a date folder, so the files decide which folder is made.

The free Power Automate account in that forum example cannot run the flow unattended, so you would start it manually each day. [2]

Skip the old XP-era tricks

Older guides for Windows XP change the system’s Short Date format in Regional And Language Options. They then add a custom right-click action built on CMD.EXE /C MD "%1\\%%DATE%%". [1] That approach edits the date display for the entire operating system, and it was written for XP’s Folder Options dialog, so it does not map onto current Windows. [1] Skip it.

The methods in this article are written for Windows 11, and Windows 10 behaves the same way for them.

Which everyday situations need date-named folders?

Date-named folders help most when the date is the natural way you look things up later. Four everyday situations come up again and again.

Daily work records

The classic case is a new folder every day, named with that day’s date, inside a folder you already use. One Windows user wanted to keep a record of work items for each particular day, and found that creating the folder by hand was easy to forget. [2] A folder per day gives each day’s notes, drafts and exports one predictable home.

A folder for the previous work date

Some workflows file things under yesterday’s date instead of today’s. A Microsoft Q&A question asks how to create a folder in a specific location every day using the previous work date. [3] Think of a Monday-morning report that covers Friday: the folder name must match the work, not the calendar day you open it.

Photos from a camera or phone

Many people want imports filed by the day each picture was taken. One user remembered a camera transfer that created a folder for every different date and placed the photos inside, and wanted the same result when copying from a phone. [4] Here the files decide which folders exist, so you need something that reads each file’s date rather than an empty folder made in advance.

Sorting a Downloads-style folder

A busy Downloads folder can be tidied by date. Folder Sorter, a Windows app, moves new files in watched folders by rule, including by date, with preview and undo. [5] That suits a folder where files keep arriving and you would rather not move them yourself.

Can a script make a folder named with today’s date?

Yes. A script can read the system date and create a folder with that name in the location you choose. That is the core of the “create a new folder every day” request readers describe: a folder named with the current date, placed inside an existing work folder, with no typing. [2]

What a script does

The script has three jobs: read today’s date, build the folder path from your chosen base folder, and create the folder if it does not exist yet. One example of this pattern is a Power Automate flow that lets you choose the base folder, checks whether today’s folder already exists, creates it if not, and opens File Explorer in it. [2]

That flow also shows a limit worth knowing. With a free Power Automate account it cannot run unattended, so you would run it by hand each day after the console starts with Windows. [2]

Why it suits beginners

You do not need to write code. Copy a short script once, set the base folder, and reuse it every time you need a dated folder. The same script can later be handed to a scheduler, which is how you get the fully hands-off version.

The forum poster who asked for this described themselves as no IT expert and just wanted one less daily chore. [2]

Previous-work-date folders are harder

A folder named for the previous work date needs extra date logic. Someone asking Microsoft’s community how to create a folder in a specific location every day with the previous work date shows this is a common request. [3]

The script must step back one day, and on a Monday it would need to skip the weekend. A plain “today” script does not do that.

If you are deciding between a batch file and PowerShell for this, that comparison has its own article.

How do you make it happen every day on its own?

A script that creates the dated folder, paired with a scheduled task that runs it, gives you the “every day on its own” behavior. The script does the work. The schedule is what removes you from the loop, so you stop having to remember. Related reading: How to Schedule Folder Creation in Windows.

This is the same need a Windows 10 user described: a new folder every day, named with that day’s date, inside an existing folder, to keep records of daily work. [2] A script plus a daily task fits that request directly.

Plan around the PC being on

A scheduled task can only run when Windows is able to run it. If the PC is off or asleep at the scheduled time, that day’s folder may not appear unless the task is set to catch up once the PC is available again. Open the task’s settings in Task Scheduler and look at the options for missed runs and for running when you are signed out.

Pick a run time when the PC is normally on. Early in your workday, or at sign-in, is a sensible choice for a daily work folder.

Why a free automation flow may fall short

Microsoft’s Power Automate is one route, but one forum answer notes a limit: with a free account the flow cannot run unattended. You would need the Power Automate console to start with Windows and then run the flow by hand each day. [2] That defeats the “on its own” goal, so a script with a scheduled task is the better fit here.

The same applies if you want a folder named for the previous work date, a request people raise on Microsoft’s Q&A site. [3] The schedule works the same way, only the script’s date logic changes.

For the full setup, see the separate article on scheduling folder creation in Windows.

Is there a no-code way to sort files into date folders?

Yes. Folder Sorter, a Microsoft Store app, lets you automatically move new files in watched folders by rule on Windows. Its store listing says it can sort by extension, name, or date, with preview and undo. [5]

That means you set a rule once, point it at a folder, and the app files incoming items for you instead of you typing any folder names or running a script.

Where it fits

A tool like this suits workflows where the files themselves decide which folder they belong in. Two common examples:

  • Photos: One reader described wanting a camera-style import that creates a folder for every date pictures were taken and places each photo in the matching folder. [4] A date rule is aimed at exactly that kind of filing.

  • Downloads: A watched Downloads folder can be sorted by date so new files do not pile up in one place. [5]

If you only need an empty folder named with today’s date each day, a script is a better match, because no arriving file is involved.

What to know before installing

The listing describes the app as moving files by rule, with preview and undo. [5] Beyond that, details such as exact date-folder naming options, supported Windows versions, and price are best read on the Microsoft Store page, where the current information is shown.

Safety

Any tool or script that moves files can put them in the wrong place. Back up important files first, and try your rule on a copy of the folder before pointing it at the real one. Use the preview to see what would move, and keep undo in mind if the result looks wrong.

Which method should you choose?

Match the method to what triggers the folder. Ask whether the folder should exist on a schedule, because files arrive, or only when you ask for it.

Empty daily folder: script plus schedule

If you want a fresh folder every day for a work log, use a script that reads the date and a scheduled task that runs it. That is the same need a forum poster described: a new folder each day, named with that day’s date, inside an existing folder. [2] A script plus a schedule does this without you remembering to run anything. Power Automate is another route, but the free account cannot run its flow unattended, so you would still start the flow by hand each day. [2]

Folders based on arriving files: rule-based tool

If the files should decide the folder, as with photos or downloads, use a tool that watches a folder. Folder Sorter, a Microsoft Store app, moves new files in watched folders by rule, including by date, with preview and undo. [5] An empty-folder script cannot do this, because it knows nothing about the files.

One-time or occasional: run the script by hand

For a one-off or an occasional need, skip the scheduling. Keep the same script and run it yourself when you need today’s folder. It is the simplest setup and gives you nothing extra to maintain.

Sorting in a view is not creating folders

Changing the sort order in File Explorer does not make any folders. A view only changes how files are displayed; they are not placed in any order. [6] One user found a newly added file landing third from last under a date sort. [6] Explorer also offers several dates, such as created, modified and accessed, and the one you sort by changes the result. [6]

What is the simplest next step?

Decide what should start the folder before you choose a tool. If you want an empty folder each day, you need something that runs on a schedule or on demand. If the files themselves decide the folder, a rule-based sorter such as Folder Sorter fits better, since it moves new files in watched folders by rule, including date, with preview and undo. [5]

Your next step is small: create a test folder with a few copies of files, and point your script or tool at it. Run it once and see whether the dated folder appears where you expect. Then switch to your real work folder. [2]

Sources

  1. How to create date based folder names in Windows XP

  2. Auto create new folder everyday with date as name.

  3. How to automate creating a folder with the previous …

  4. When I was using a digital camera, I used to copy my photos from the camera to my computer. I would…

  5. Folder Sorter – Auto Move Files by Rule

  6. I feel like I am really missing something obvious because back when I had Windows XP, this was…