1. Computing

Discuss in my forum

Mkdir (Recovery Console)

By , About.com Guide

What is the Mkdir Command?:

The mkdir command is a Recovery Console command used to create new folders or subfolders..

Note: "Mkdir" and "Md" may be used interchangeably.

A mkdir command is also available from the Command Prompt.

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.

Mkdir Related Commands:

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

  1. About.com
  2. Computing
  3. PC Support
  4. Glossary / Terms
  5. M
  6. Mkdir Command (Recovery Console)

©2013 About.com. All rights reserved.