How to create a directory or folder

Microsoft Windows users
MS-DOS and Windows command line users
Linux and Unix and variant users
Microsoft Windows 3.X users

Microsoft Windows 9x, ME, NT, 2000, XP, Vista, 7, and 8 users

Microsoft Windows users can create a folder different ways. Below is a listing of the different methods to create a folder.

My Computer

  1. Open My Computer or Windows Explorer
  2. Open the drive or folder you want to create a folder in. For example, the C: drive.
  3. If you do not want to create a folder in the root directory, browse to the location you want to create a folder. In the menu bar, select File and then Folder. You can also right-click with your mouse on a blank portion of the folder, click New and then Folder, as shown in the image below.

Note: If you do not see the menu bar at the top of Windows Explorer, press the Alt key and it should become visible.

New Windows Desktop folderWindows Desktop

  1. Get to the Windows Desktop.
  2. Right-click with your mouse on any blank portion of the Desktop.
  3. In the menu that appears (like that shown in the picture to the right), click New and then Folder.
  4. A new folder will appear. Type the name of the folder you want to use and then press Enter.

Windows command line

See the below MS-DOS and Windows command line users section for information about creating a directory in the Windows command line.

MS-DOS and Windows command line users

To create a directory in MS-DOS or the Windows command line, use the md or mkdir MS-DOS command. For example, below we are creating a new directory called hope in the current directory.

mkdir hope

You can also create multiple new directories in the current directory by using the md command. For example, below we are creating three new directories, called user1, user2, and user3, in the current directory.

md user1 user2 user3

Linux and Unix and variant users

To create a directory in Linux, Unix, or any variant, use the mkdir Linux and Unix command. For example, below we are creating a new directory called hope in the current directory.

mkdir hope

Microsoft Windows 3.X users

File Manager

  1. Open File Manager
  2. Open the existing folder you want to create a new folder in. In the menu at the top of File Manager, select File and then new folder.

MS-DOS

See the above MS-DOS users section for information about creating a directory in MS-DOS.

Additional information

  • See the directory and folder definitions for further information and related links.