Saturday, 26 January 2013

CREATE A FOLDER WITH NAME "CON","NUL"etc.


Create a folder with name "con" ??
 
It was dicovered that nobody can create a folder named as "con" in windows.
This is something pretty cool...and unbelievable...
Note : This should be through & in windows only.
ANS.
Step 1. Right click on desktop
Step 2. Make new folder
Step 3. Type CON and ALT+255 or 0160

                                                  OR
Step1. Goto command prompt
Step 2. Type in prompt e:\> "mkdir \\.\e:\con"
Step 3. Verify by typing "dir \\.\e:\con"
Step 4. Delete the file or folder "rmdir \\.\e:\con"
The reason behind this is that they are reserved keywords used by DOS
Not only CON but also we cant create a folder with many words like   PRN, AUX, CLOCK$,  NUL  , COM1,  COM2,  COM3,  COM4,  COM5,COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and  LPT9 etc.

No comments: