Saturday, December 26, 2009

How to make CON folder in Windows

It was the most discussed topic I ever heard about windows.

There were lots of discussions, gossips, bets and tons of mails roaming around about "Creation of CON folder on windows OS"

I'll give you very simple one liner command to create the same.

Step 1: go to command prompt (Start > Run type cmd and enter, short key Win+R)

Step 2 : you'll get any path and prompt where cursor was blinking. Write cd\

Step 3 : type in mkdir \\.\c:\con

Step 4: you can check in cmd prompt by dir \\.\c:\con

Step 5 : delete the folder by rmdir \\.\c:\con

CON is reserved name in windows, that's the reason you neither can create nor delete the con folder using normal procedure. You have to have these smart tips to do so.

This is applicable with all the following names: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9

Reason : these are window's inbuilt 'Reserved Device Names'

No comments:

Visitor Count : Free Hit Counter