HOW TO CREATE CON FOLDER IN WINDOWS
Have you ever tried to create a folder and
named it as CON in your windows, if you have not tried it before, then try it
now but you will not able to create it.
We cannot create, not only CON folder
but also PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8,
COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more in windows.
So why we cannot create CON, PRN,AUX..
etc. folders in windows
and how to create ?
We cannot create CON,
PRN,AUX.. etc. folder because these are the reserved filename used by windows.
See the following table to know
different filename and their corresponding functions:
| Reserved filename | Function |
|---|---|
| CON | Keyboard and Display |
| PRN | System list device, usually a parellel port |
| AUX | Auxiliary Device,usually a serial port |
| NUL | Bit-Bucket Device |
| A:-Z: | Drive Letter |
| COM1 | First Serial communications port |
| COM2 | Second Serial communications port |
| COM3 | Third Serial communications port |
| COM4 | Fourth Serial communications port |
| LPT1 | First Parallel printer port |
| LPT2 | second Parallel printer port |
| LPT3 | Third Parallel printer port |
HOW TO CREATE ?
To create:
1. Go to Start and then Click on Run (or
right click start menu and select command prompt in windows 8/8.1)
2. Type cmd & hit enter (To open Command Prompt ).
3. Remember you cannot create these folder in your root directory (i.e. where the windows is installed) That means you can't make these kind of folder in C drive if you installed windows on C:
4. Type D: or E: and hit enter
5. Type md con\ and hit enter (md - make directory)
You may use other words such as aux, lpt1, lpt2, lpt3 etc. instead of con in above step.
Open that directory, you will see the folder con is created.
2. Type cmd & hit enter (To open Command Prompt ).
3. Remember you cannot create these folder in your root directory (i.e. where the windows is installed) That means you can't make these kind of folder in C drive if you installed windows on C:
4. Type D: or E: and hit enter
5. Type md con\ and hit enter (md - make directory)
You may use other words such as aux, lpt1, lpt2, lpt3 etc. instead of con in above step.
Open that directory, you will see the folder con is created.
If you try to delete that folder or rename
that folder windows will show the error message.
SO HOW TO DELETE THAT FOLDER ?
To delete-
1. Open Command Prompt
2. Type D: ( if u created this type of folder in D: drive) & hit enter
3. Type rd con\ (rd - remove directory)
Open that directory and the folder will not appear because it is removed.

Comments
Post a Comment