• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Windows: Create Folders From Command Line

Windows: Create Folders From Command Line

Posted on August 13, 2019 by Mitch Bartlett 6 Comments

The command line is still a powerful thing to use in Microsoft Windows. You may need to learn how to create a directory from the command line if you’re writing a script, or want a simpler way to create multiple folders. Here’s how it’s done.

  1. Select the “Start” button,type cmd then choose “Command Prompt” in the list that appears.
    Open Command Prompt Windows
  2. To switch to another drive, simply type the drive letter followed by a colon, then press “Enter“.
  3. To switch to another directory, type cd followed by the path to the directory, then press “Enter“.
  4. Type mkdir followed by the name of the folder you wish to create, then press “Enter“.
    Example:mkdir mynewfolder

    Creating Folders From CMD
    Example showing switching to the G drive, then to the test folder and the creation of a folder called “mynewfolder”.

Creating multiple folders is easier from the command line. You can type mkdir followed by the names of each folder, separated by a space to do this.

mkdir mynewfolder1 mynewfolder2 testfolder1

Note: Alternately, you can use the md command in place of mkdir. They do the same thing.

You Might Also Like

  • Windows: Clear Java Web Cache Via Command Line
    Windows: Clear Java Web Cache Via Command Line
  • Windows 10 Import/Export Registry Keys From Command Line
    Windows 10 Import/Export Registry Keys From Command Line
  • Windows: Create Command Prompt That Opens To Specific Folder Location
    Windows: Create Command Prompt That Opens To…
  • What Is a Command Line Interpreter?
    What Is a Command Line Interpreter?
  • How To Colorize Folders in Windows 10
    How To Colorize Folders in Windows 10
  • Password Protect Folders in Windows
    Password Protect Folders in Windows
  • Windows 10: Show Size of Folders
    Windows 10: Show Size of Folders
  • Windows 10: How to Mirror/Sync Folders Automatically
    Windows 10: How to Mirror/Sync Folders Automatically
  • Why Do Some Windows 10 Files and Folders Have Two Blue Arrow?
    Why Do Some Windows 10 Files and Folders Have Two…

Filed Under: Windows Tagged With: Windows 10

Reader Interactions

Comments

  1. hp llaptop says

    November 12, 2020 at 8:49 am

    hi , when i do this the folder doesnt show in my desktop but in my local disk drive.

  2. Daniel says

    September 6, 2020 at 6:10 am

    thanks for simple and usefull tutorial

  3. Michael h Noel says

    June 29, 2020 at 6:12 pm

    Thank you so much. Bless

  4. Geogina Launeka says

    June 16, 2020 at 6:08 pm

    Thanks a lot. This answered my question.

  5. Sylvester says

    May 14, 2020 at 10:14 pm

    That was very useful. Thank you!

  6. David Callaway says

    November 18, 2019 at 4:36 am

    This answered my question precisely. Thank you.

Did this help? Let us know! Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • How to Set Up a Recurring Meeting in Teams
  • Fix: Microsoft Teams Keeps Freezing My Computer
  • Are you having problems with the Galaxy S21 Wi-Fi? Here’s how you can fix it
  • How to Migrate Skype For Business Users To Teams
  • How to Get the Most out of Google Files App
  • Fix Microsoft Teams Channel Email Not Working
  • Microsoft Teams: Cannot Create New Folder in Files
  • Fix: Microsoft Teams Guests Can’t Chat

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Follow me on Twitter, or visit my personal blog.

You May Also Like

  • Windows 95/98
  • Microsoft Windows NT
  • Microsoft Windows
  • Microsoft Windows 95
  • Windows Media Player (WMP)
  • Top 8 Itunes Alternatives for Windows

© Copyright 2021 Technipages · All Rights Reserved · Privacy