Skip to content

Wiresoft · Wiresoft Canada Inc.

Reading display

Your display preferences are saved on this device. Resetting removes the saved selection.

Operating systems

Windows 10: How to create multiple folders at once

Convoluted folder structures are a real time-waster. We’ll show you how to create several folders at once and get organised!

By Wiresoft Editorial Team

Published
Content reviewed

Listen to this article

Start reading aloud with a voice from your device. Changing the voice, speed or section stops playback; you can then start again.

Read-aloud settings

Checking available voices.

Overview

Everyone is bound to know a friend, fellow student or colleague whose desktop has, at some point, become a completely bewildering jumble of all sorts of folders, files and shortcuts.

Hats off to anyone who can keep track of things in such chaos. If you don’t want to be at the mercy of the chaos, or if you prefer to keep your computer tidy, you should create plenty of folders. A well-thought-out folder structure on your computer is the key to always keeping track of things.

Anyone who has to keep track of lots of Word or Excel files whilst studying or at work is better off creating too many folders than too few. But using the standard method for Windows operating systems – right-clicking to create each folder – is rather tedious. Even if you know the keyboard shortcut for creating a new folder (CTRL+SHIFT+N), you can only create one new folder at a time.

In this tutorial, we’ll show you how to create several folders at once and how to rename them in no time at all.

Here’s how easy it is to create a new folder using PowerShell

To create one – or more – new folders, navigate to the folder in which you want to create them. Then open Windows PowerShell for that folder.

To open PowerShell in a folder, press SHIFT and right-click inside the folder. The standard context menu has been expanded to include the option ‘Open PowerShell window here’. Now select this option.

The blue PowerShell window will open; it looks very similar to the Command Prompt. After waiting a moment, the path to the folder for which you opened PowerShell will appear on the first line of the PowerShell window.

You can create a new folder using the ‘md’ command (short for ‘make directory’). It is important to note that you cannot include spaces in the names of folders created via PowerShell!

To create a new folder, simply type the following command into PowerShell:

“md ExampleFolder 1”

one.

Once you have confirmed the command by pressing ENTER, the PowerShell output will appear, followed by the path once more, and you will then be able to enter another command.

How can you create several folders at once using PowerShell?

To create several folders at once in PowerShell, you can extend the command as required. All you need to do is enter a semicolon (;) after each folder, followed by ‘md’ and then the next folder name.

A command like this would look something like this, for example:

“md Folder1; md Folder2; md Folder3; md Folder4”

To save time, you can also use CTRL+V to paste words in PowerShell. That way, for example, you don’t always have to type out the word ‘folder’ in full.

If you want to create a large number of folders, you can simply open an Excel spreadsheet and have it generate the folder names for you. This way, you can create as many folder names as you like in just a few seconds.

As an example, we will create the folders ‘excelFolder1’ to ‘excelFolder20’ in such a way that they can be easily created using PowerShell.

To do this, you simply need to enter three names. In cell A1, type ‘md excelFolder1’, in cell A2 ‘; md excelFolder2’ and in cell A3 ‘; md excelFolder3’. Next, select cells A2 and A3, click on the small square in the bottom right-hand corner of the selection box, hold down the mouse button and drag the selection to expand it until it covers a total of 19 cells. You now have 20 folder names.

To enter these into PowerShell, they must be on a single line. In Excel 365 and Excel 2019 onwards, there is a function called ‘CONCATENATE’ for this purpose. You can use this to combine the contents of several cells into a single cell. The function for this is:

=CONCATENATE(A1:A20)

All the folder names are now in the Excel cell exactly as you need them in PowerShell.

Simply select the cell containing the function, press CTRL+C, open PowerShell and paste the contents here using CTRL+V. This way, you can create as many folders as you need in just a few seconds.

With this system, you can, for example, create a folder for the months January to December, for different years, and so on.

How to rename several files or folders at once

If you want to rename several folders or files at the same time, you can do this in Windows 10 as well. Provided the files are to be given the same name followed by a sequential number – which is useful, for example, when working on a project.

If you want the names to be more varied, there is freeware available that saves you from having to do tedious, painstaking work.

To rename several files and folders, simply select the relevant items in a folder and press the F2 key. You can now change the name of a file. For example, suppose you want the 20 folders to be called ‘Project folders’ 1 to 2 instead of ‘excelFolders’ 1 to 20. In that case, simply name one folder ‘Project folder (1)’ and press ENTER to confirm.

With these tips, you can tidy up even the messiest computer in no time at all.

About the authors

Wiresoft Editorial Team

The Wiresoft editorial team explains software, licences and how to use Windows, Office and servers in a clear and practical way. The articles are based on the questions that customers ask Wiresoft in their day-to-day lives.

Sources and further reading

Matching productsOperating systems

More on this topic

KEEP THE CONVERSATION GOING

Comments on this article

Reviewed comments and replies from the editorial team.

Comment on this article

There are no currently approved comments on this page yet.

YOUR SELECTION

Your basket