SALMAN
08-18-2010, 03:21 PM
Read this amazing fact:-
In Microsoft’s Windows operating systems like Windows XP or in Vista we cant create folders with names CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 directly from GUI. This is because, DOS device names are reserved words, and cannot be used as folder or file names.As a variable can’t be named as keyword so as the folder.When parsing a reference to a file or folder, Windows correctly checks for the case in which a single DOS device name is used in the path, and treats it as invalid. But in computers there is nothing is Impossible. We can create folders with these names in Microsoft Windows Vista or in XP.If you try to make a folder named “CON” (case insensitive)in Windows Vista or XP renames it back to what it was. So creating a new folder with the name “CON” just renames it to “New Folder”.The bug seems like a variable that got treated as a string or vice-versa. Trying to create the folder from a cmd prompt failed with an error “The directory name is invalid.”.This also works when you try to create a file called “CON”, or “CON.” “.CON” shows up the way it should.Moreover, if you try to use a reserved name to name a file such as a Notepad or Microsoft Word document you will generally receive an error message.
Is it possible to create a folder which is names as CON in Windows Vista or in XP??
YES
because it is still possible to create these folders using the command prompt.
Here is the instructions to create it:
* Go to Windows Vista or in XP command prompt
* Type in prompt (FOR EG. TO CREATE CON FOLDER IN E: DRIVE)
C:\>md \\.\e:\con
* NOTE:”con” can be replaced by any other names such as “prn”, “nul” “com1″ “com2″ “lpt1″ etc.
* To delete the folder use the following command
C:\>rd \\.\e:\con
NOTE:The folder can only be deleted from the command prompt.You cannot remove it by right-click delete
Anoher Method:
Create Folder While name Type CON and then stroke the key ALT+0160 on numeric key pad.(CON -> ALT+0160).Then you can create CON folder and other described folders.It means that when you type a folder name with simple ALT+0160 you can create empty folder.There is no name for a folder.Here we are using “CON ” (CON with space).This is the tricky logic here.
Note:- Actually you’ll have to press the number’s of the number pad or else it won’t work. That is, create a new folder, rename it Con but don’t press enter yet. Hold down Alt and type 255 on the number pad and then press enter. (for laptop users, press Fn key and press the letter keys k-i-i to make use of number pad).
IF U LIKE IT THEN PRESS " THANKS" BUTTON
I request U very First :)
EnJOY Ramzan-ul-Mubarak
In Microsoft’s Windows operating systems like Windows XP or in Vista we cant create folders with names CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 directly from GUI. This is because, DOS device names are reserved words, and cannot be used as folder or file names.As a variable can’t be named as keyword so as the folder.When parsing a reference to a file or folder, Windows correctly checks for the case in which a single DOS device name is used in the path, and treats it as invalid. But in computers there is nothing is Impossible. We can create folders with these names in Microsoft Windows Vista or in XP.If you try to make a folder named “CON” (case insensitive)in Windows Vista or XP renames it back to what it was. So creating a new folder with the name “CON” just renames it to “New Folder”.The bug seems like a variable that got treated as a string or vice-versa. Trying to create the folder from a cmd prompt failed with an error “The directory name is invalid.”.This also works when you try to create a file called “CON”, or “CON.” “.CON” shows up the way it should.Moreover, if you try to use a reserved name to name a file such as a Notepad or Microsoft Word document you will generally receive an error message.
Is it possible to create a folder which is names as CON in Windows Vista or in XP??
YES
because it is still possible to create these folders using the command prompt.
Here is the instructions to create it:
* Go to Windows Vista or in XP command prompt
* Type in prompt (FOR EG. TO CREATE CON FOLDER IN E: DRIVE)
C:\>md \\.\e:\con
* NOTE:”con” can be replaced by any other names such as “prn”, “nul” “com1″ “com2″ “lpt1″ etc.
* To delete the folder use the following command
C:\>rd \\.\e:\con
NOTE:The folder can only be deleted from the command prompt.You cannot remove it by right-click delete
Anoher Method:
Create Folder While name Type CON and then stroke the key ALT+0160 on numeric key pad.(CON -> ALT+0160).Then you can create CON folder and other described folders.It means that when you type a folder name with simple ALT+0160 you can create empty folder.There is no name for a folder.Here we are using “CON ” (CON with space).This is the tricky logic here.
Note:- Actually you’ll have to press the number’s of the number pad or else it won’t work. That is, create a new folder, rename it Con but don’t press enter yet. Hold down Alt and type 255 on the number pad and then press enter. (for laptop users, press Fn key and press the letter keys k-i-i to make use of number pad).
IF U LIKE IT THEN PRESS " THANKS" BUTTON
I request U very First :)
EnJOY Ramzan-ul-Mubarak