How to delete con/auf/prn/nul Folders:

In windows it is not possible to delete a folder having 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 delete a folder with above names you will get a message like “Item Not Found

dcon1Solution for the above problem is deleting a folders using command prompt

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

CF4Step 2: By using RMDIR (or) RD commands you can delete folder in your computer

Syntax 1: Deleting a con/auf/com1.etc  folders using RMDIR command

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

dcon2Syntax 2: Deleting a con/auf/com1.etc folders using RD command

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

dcon3Note: By using command prompt we can delete any folder

Enjoy 🙂

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

Don’t Miss : How to Remove Shortcut Virus from Pen drive