1. Home
  2. Computing & Technology
  3. PC Support

Mkdir (Md)

By , About.com Guide

What is the Mkdir Command?:

The mkdir command is a Recovery Console command used to create new folders or subfolders. "Mkdir" and "Md" may be used interchangeably.

Mkdir Command Syntax:

mkdir [drive:] path

drive:  = This is the drive letter where the new folder you want to create should be located.

path = This is the name of the new folder you want to create.

Note: The mkdir command can only be used to create folders inside the system folders of the current installation of Windows, in removable media, in the root folder of any partition, or in the local Windows installation source.

Mkdir Command Examples:
mkdir c:\windows\mynewfolder

In the above example, the mkdir command is used to create a folder named mynewfolder inside the current C:\Windows folder.

mkdir folder2

In this example, the mkdir command has no drive: or additional path information specified so folder2 is created within the directory you typed the mkdir command from.

For example, if you type mkdir folder2 from the C:\> prompt, a new folder named mkdir will be created under C:\, creating the C:\folder2 directory.

Mkdir Command Availability:

The mkdir command is available from within the Recovery Console in Windows 2000 and Windows XP.

The mkdir command is also accessible from the Command Prompt in any version of Windows but with different options and restrictions.

Mkdir Related Commands:

The mkdir command is often used with many other Recovery Console commands.

Explore PC Support
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. PC Support
  4. Glossary / Terms
  5. M
  6. Mkdir - Mkdir Command Details - Recovery Console Command - Md>

©2009 About.com, a part of The New York Times Company.

All rights reserved.