Wednesday, August 28, 2013

How to delete con/auf/prn/nul Folders

How to delete con/auf/prn/nul Folders:
In windows it is not possible to delete a folder having the following 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"
Solution for the above problem is deleting a folders using command prompt
Step 1: Open your command prompt (Go start-> type cmd ->click on enter)
Step 2: By using RMDIR (or) RD commands your can delete folder in your computer
Syntax 1: Deleting a con/auf/com1.etc  folder using RMDIR command
C:/>rmdir \\.\[Path Name to create a folder]\[folder name]
Syntax 2: Deleting a con/auf/com1.etc folder using RD command
C:/>rd \\.\[Path Name to create a folder]\[folder name]
Note: By using command prompt we can delete any folder
Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my post, please let me now in the comments




Share This Post →


No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Blog Archive