In windows it is not possible to create a folder with the flowing names

Con

Prn

Nul

Aux

Com1

Com2

Com3

Com4

Com5

Com6

Com7

Com8

Com9

Lpt1

Lpt2

Lpt3

Lpt4

Lpt5

Lpt6

Lpt7

Lpt8

Lpt9

If you try to create a folder with above names you will get an error message like “The specified device name is invalid

CF8Reason: Above all are the reserved keywords used by DOS, if you try to create a folder with above names there will be an ambiguity problem

Solution for the above problem is creating a folders using command prompt

Step 1: Open your command prompt (Go to start-> type cmd ->Press enter)

CF4Step 2: By using MKDIR (or) MD commands your can create new folder in your computer

Syntax 1: Creating a con/auf/com1.etc folders using MKDIR command

C:/>mkdir \\.\[Path Name to create a folder]\[folder name]

con1Go to your desktop and check for con folder

con3Syntax 2: Creating a con/auf/com1.etc folders using MD command

C:/>md \\.\[Path Name to create a folder]\[folder name]

con2Go to your desktop and check for prn folder

con4Note: By using command prompt we can create a folder with any name

Enjoy 🙂

Thank you for visiting how2doit.in.  If you find any mistakes help us by leaving a comment.

Don’t Miss : How to Shut Down Your Computer with the Command Prompt