9 Ways To Create a New Folder In Windows

Ryan Dube 16-08-2012

new folder windowsHave you ever had the urge to find new and innovative ways to do something that is normally quite simple? The other day I was going to save a Word Document, and forgot that I hadn’t created the folder where I wanted to save it yet. “No problem,” I thought to myself, “I’ll just right click and create a new folder right inside the save-as dialog window. Easy!”


But then, when did that feature start anyway? I honestly don’t recall. I’m sure some of you out there may know (there are people that know the answer to just about every inane trivia question), but seriously when did it become so easy to just create a new folder anywhere and everywhere right on the fly? So, I decided to test myself. How many ways are there to create a new folder on a Windows PC?  Specifically, Windows 7 in my case.

As an exercise to test my limits, I decided to challenge myself.  I would see if I could come up with 10 ways to create a new folder or directory in Windows.  Off the top of my head, I could only think of 3 or 4. But would I be able to come up with more?

How Many Ways Can You Create a Folder?

Kicking off this list was of course extremely simple. This early in the game, I feel pretty confident. Right out of the gate there are several ways that everyone and their mother knows about making a new folder.

First off, there is of course the right-click -> New option. This is the most common way that people create new folders when they’re trying to organize files inside other folders. It’s usually the approach used  in Windows Explorer by people that haven’t yet learned the shortcuts that are available to perform that same task with far less clicks.

new folder windows


Why right-click, when in Windows 7 you can just go right up to the top of the Windows Explorer window and just click on the “New Folder” button. That was easy.

create new windows folder

Hold on – it gets even easier. The third way to create a folder is probably the fastest technique yet. It is yet another way to create a folder from inside Windows Explorer – the slick Cntrl-Shift-N shortcut.

9 Ways To Create a New Folder In Windows newfolder3a


If you’ve never tried it, please do. With those three keys, a new folder appears and the name is in edit mode already.

create new windows folder

Just type the new name and you’re done. Once you discover Cntrl-Shift-N, you’ll never look back.

So that’s it, right? I’m at about 500 words now and I’ve pretty much covered the topic of creating new folders in full, so shouldn’t I just give up my silly challenge and call it quits? I mean, seriously, 10 ways to create a folder? Who am I kidding?


More Ways To Make a New Folder In Windows

I’m not quitting that easily. Go ahead, place your bets against me, I can take it.  Probably a few of you were already laughing because I forgot all about the old windows command line The Windows Command Prompt: Simpler And More Useful Than You Think The commands haven't always stayed the same, in fact some have been trashed while other newer commands came along, even with Windows 7 in fact. So, why would anyone want to bother clicking the start... Read More that I like to write so much about, right?

The command prompt is a brilliant approach to take when you’re doing things like logging output from a windows script you wrote, or maybe you’re pinging a network device and want to log the results to file. Well, if you’re already working in the command window, the last thing you want to do is open a new Explorer window just to make a logfile directory.

That’s why you have the good old “mkdir” command right at your fingertips.

create new windows folder


The “mkdir” command will create a new folder in your present directory location. If you want to create a directory elsewhere, just type out the entire path. It’s quick and easy, and requires zero mouse clicks.

The fifth approach to creating a folder is the one I mentioned in the introduction – just doing it on the fly when you’re saving files. This was a wonderful feature when it became available, and I use it constantly because I almost always forget to create folders before going to save a file.

9 Ways To Create a New Folder In Windows newfolder5

It isn’t only Office products that let you do this, there are plenty of applications today that will create directories on your PC from right inside the application. Look at Mozilla Thunderbird for example. You can set up a location on your computer where Local Folders will be stored from within the settings menu.

9 Ways To Create a New Folder In Windows newfolder9

Now, whenever you create a new local folder from inside of Thunderbird, it actually creates that folder on your local hard drive, and will save everything you drag into that folder locally.

new folder windows 7

It is a really convenient way to back up important emails and documents locally. It is also the 6th method to create a new directory in Windows. Didn’t think I could make it this far did you?

I’m not done yet.

Creating Folders With Windows Scripting

So, even if you know all of the cool shortcuts to creating new folders, there are actually ways that the same thing can be accomplished from inside programs that you can write. They aren’t overly complicated either – making this a popular task that gets included into many Windows Scripts or batch jobs by a lot of IT folks. Creating a folder in script lets you automate the creation of a location to log data or errors in an organized way.

For example, if I were going to accomplish this with a VB-based Windows script, I would write the following script:

<script language=”VBScript”>

Option Explicit

On Error Resume Next

dim filesys, newfolder, newfolderpath
newfolderpath = “c:\temp\misc\logfolder”
set filesys=CreateObject(“Scripting.FileSystemObject”)
If Not filesys.FolderExists(newfolderpath) Then
Set newfolder = filesys.CreateFolder(newfolderpath)
End If

with createobject(“”)
.run “explorer /e,” & newfolderpath, 1, False
end with



What this does is automatically creates a new folder c:\temp\misc\logfolder\ if the folder doesn’t already exist (the FolderExist function performs that check). It then creates the folder, and finally launches the Windows Explorer using the Shell “Run” method. Once I ran this script, the following window opened.

new folder windows 7

The logfile directory was created and displayed to me. If I wanted my script to produce errors or data, I would place them in this directory and when this window opens at the end, everything is right there in front of you.

Creating Folders With PHP

If you write web applications in PHP, then you may already know of the next technique to create a folder on a Windows web server. All you need is a single line of PHP code.

mkdir(“./ftpdocs/newdir”, 0700);

This line – which you can use anywhere in your web page PHP code, will work just like a DOS “mkdir” command when the user opens the browser page. It’ll create a new directory that you’ve defined (or maybe passed with a string variable), and the “0700” is simply how the command sets the folder permissions automatically.

I ran the single-line PHP script on my home XAMPP web server, and sure enough, when I viewed the PHP file with my browser, the web server created the directory.

new folder windows 7

So that makes 8 ways so far that you can make a new folder.  Is there any more?  Well, what about Office automation and VBA?

Creating a New Folder With VBA

I’ve written a lot about VBA here at MakeUseOf, so you probably saw this one coming.  You can use the same sort of command in Word, Excel, Powerpoint, or any other Windows app with a VBA back end. The script is very, very simple. Just place this anywhere in your script. In this example I made a command button to run it.

If Len(Dir(“c:\temp\misc\outputdata”, vbDirectory)) = 0 Then
       MkDir “c:\temp\misc\outputdata”
End If

In this example, if the Dir function doesn’t see the directory, it’ll nothing, in which case the length of the return string will be zero, indicating no directory already exists. If that’s the case, the next line – the “MkDir” command – will create that folder.

Placing this command button in a word document and running it, sure enough, creates my outputdata folder.

new folder windows

You can insert those three lines anywhere in your VBA script where you want to automatically create a directory.

So that’s it. I made it to nine. Can I get an extra point for getting this far?  Could anyone help me out and think of a tenth method in the comments section below?

Image Credit: Computer Keyboard Illustration via Shutterstock, Folder Icon via Shutterstock

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. kodeswaran k kodeswaran k
    October 1, 2012 at 12:38 pm

    it is very nice to know the tricks to create a new folder.definitely it is not known to anyone until they visit makeuse of.thanks to the team

  2. mukesh
    September 4, 2012 at 11:32 am


    10.include f10 + navigation keys

    to create folder

  3. Kao Vang
    August 31, 2012 at 1:46 pm

    Awesome, I never knew the Ctrl+Shift+N method. :)

  4. Edward Bellair
    August 26, 2012 at 5:28 pm

    Nice, but like winblows itself there is a lot of redundant actions. If they spent as much time at making it work great or safer I could understand the b.s. price they charge for this garbage. J/s

  5. Silviu Despa
    August 25, 2012 at 3:28 pm

    Lol I did not know there are so many ways of doing that !

  6. Sumaiya
    August 21, 2012 at 9:21 pm

    why would anyone use scripts to create new folders?

  7. Adjei Kofi
    August 20, 2012 at 10:58 pm

    nice tips

  8. Leonard Ivan Padilla
    August 20, 2012 at 6:33 pm


  9. Victor Ong
    August 19, 2012 at 1:00 am

    This is a good article. A little useless, but intriguing nonetheless.

  10. Kaashif Haja
    August 17, 2012 at 1:02 pm

    First few are good.
    Programs to create a folder, it's vague!!

  11. elhaj
    August 17, 2012 at 11:55 am

    nice geeky article, don't mind the negative replies, and loved the vba way to create a new folder

  12. joe
    August 17, 2012 at 11:08 am

    ctrl+shift+N but the image shows ctrl+alt+N .. WIN!

  13. Ram
    August 17, 2012 at 8:05 am

    Plz do a article about these1.bitorrent cool tips & how it works to find similar to master linux & windows& internet.plz plz.finally ur doing great job.plz provide sites similar to makeuseof ?

  14. Kieran Colfer
    August 17, 2012 at 8:00 am

    Well, if you're going to go down the PHP/VBA etc route, why not add FTP'ing into the machine and creating one in your FTP session, or writing a C/C++ program to create one. You could also create one by copying/pasting a different folder - and if you do that you have multiple new ways as you can use shortcut keys, right-click menus or drag&drop....

  15. Sameer
    August 17, 2012 at 7:23 am

    Interesting !!!

  16. meme
    August 17, 2012 at 7:12 am

    what a useless article

  17. Anandu B Ajith
    August 17, 2012 at 6:58 am

    trickk to impress Friends

  18. Alan Wade
    August 17, 2012 at 6:28 am

    Brilliant post! I didnt realise there was so many ways. As your article suggests, I the keyboard shortcut - Alt, Shift, N is my new favorite. :)

    I am glad about the mistake with your keyboard shortcut, its shows you are only human! LOL

  19. Satish
    August 17, 2012 at 3:41 am

    In cmd in windows, the "md" command is more powerful than "mkdir", it lets you make folders with reserved names like cons, prn, etc. and it allows you to put "." or " " before folder name.

  20. Aram Iskenderian
    August 17, 2012 at 1:49 am

    I don't understand the negative comments. The article is clearly trying to help, and not everyone is aware of everything.

    One side note, while mkdir will work, md also is valid.

    Thank you.

  21. GayashanNA
    August 16, 2012 at 11:19 pm

    I have got used to ctrl+shift+N, so i have never looked back from there. By the way there's a mistake in the image, it's not showing the correct keys for the keyboard shortcut. People who don't know the keyboard may find it hard to get the keyboard shortcut! ;)

    • Ryan Dube
      August 17, 2012 at 2:50 am

      Thanks. And I agree, after learning about ctrl-shift-N there's just no turning back. Big time-saver.

  22. Prashan10
    August 16, 2012 at 10:46 pm

    There is file compression program called Alzip but i use its unique feature to make new folders with ease. Everytime it gives the created folder a new name starting with "N" which is a bit fun as well . and this even made me forget what the programs real function is...and I its faster than "general right click method" you will know what i mean when u try. Have a good day.

    • Ryan Dube
      August 17, 2012 at 2:50 am

      Cool - nice tip, thanks!

  23. Gaurav Kumar
    August 16, 2012 at 7:56 pm

    arrrrr.....what a waste !!!
    get some writers for your site if you're running out of ideas ...

    • Ryan Dube
      August 17, 2012 at 2:49 am

      Sorry you feel that way - it was just a fun piece to come up with as many ways to create a folder with Windows. Maybe - just for you - I'll do a piece next about 10 ways to do a file transfer over the Internet. :-)

      • Achraf52
        August 17, 2012 at 7:30 am

        Please do ;

      • Suvrojit
        August 18, 2012 at 6:42 am

        I am also waiting for it

  24. K
    August 16, 2012 at 7:45 pm


    Thank you thank you thank you for pointing out ctrl+shift+n!

  25. GrrGrrr
    August 16, 2012 at 7:43 pm

    lol...too much for creating a folder

    • Ryan Dube
      August 17, 2012 at 2:48 am's sort of a buffet of choices. Take what you can eat and leave the rest for someone else. :-)

  26. Matthew
    August 16, 2012 at 7:26 pm

    What about the old standby in explorer - file > new > folder

    • Ryan Dube
      August 17, 2012 at 2:48 am

      Simple one - can't believe I missed it! And thank you - that definitely tops the list at 10 ways. Awesome!

      • Sebastian Hadinata
        August 22, 2012 at 3:44 am

        lol.. cant forget this one. . .

  27. Hypergotcha
    August 16, 2012 at 7:12 pm

    Just a little mistake in your article :

    Ctrl+Shift+N indeed but your image shows Ctrl+Alt+N

    • Ryan Dube
      August 17, 2012 at 2:47 am

      Nice - thanks for the catch!

  28. bart
    August 16, 2012 at 7:10 pm

    what a waste of time

    • Mark
      August 17, 2012 at 6:50 am


      • Timothy Liem
        August 17, 2012 at 6:59 am


      • Timothy Liem
        August 17, 2012 at 7:05 am

        in my file manager, ctrl + shift + N makes new tab inside the already-opened window. too bad Windows Explorer doesn't have the option of tabbed file browsing (AFAIK).