Why we cannot create a folder named CON in Windows?
What is the reason for this? This is because these names
represent the internal devices and hence we cannot create folders with
the above names.
- CON
- PRN
- AUX
- NUL
- COM1
- COM2
- COM3
- COM4
- COM5
- COM6
- COM7
- COM8
- COM9
- LPT1
- LPT2
- LPT3
- LPT4
- LPT5
- LPT6
- LPT7
- LPT8
- LPT9
Previous post mention that Windows does not allow to create a folder named “CON” in Windows because these names represent the internal devices. Today we going to used command prompt to create a folder name “CON” in Windows. Just a simple step to take, here we go:
1. Go to command prompt(Start–> All Programs–> Accessories–>Command Prompt) or (search “cmd” in Windows search)
2. Type in prompt (FOR EG. TO CREATE CON FOLDER IN D: DRIVE)
md\\.\d:\con
NOTE:”con” can be replaced by any other names such as “prn”, “nul” “com1″ “com2″ “lpt1″ etc.
3. To delete the folder use the following command
rd\\.\d:\con

