How to create con Folder on windows os. - A2zHackers

Latest Post

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

Thursday, December 6, 2012

How to create con Folder on windows os.

Hello friends, today i am going to talk about how to create the con folder on the windows os.
Do you know we can't create the con folder on the windows, not only con folder but also,  " PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 " and many more.

Here i am explain why they all folder can't be created.

Reason :

we can't create these folders because they all are the reserved keywords used by DOS. So if
u r allowed to create such folders, there will be an ambiguity in where to write data when the data is
supposed to go to the specified devices. In other words, if i want to print something, internally what
windows does is -- it will write the data to the folder prn (virtually u can call it a folder, i mean prn, con,
etc are virtual folders in device level). So if we are able to create con folder, windows will get confused
where to write the data, to virtual con folder or real one.

But we can create con & all other above folders, by using the command prompt.Here is the instructions to create it.

    * Go to Windows 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).
 

No comments:

Post a Comment

Post Top Ad

Responsive Ads Here