Ever tried to create the following folder in Windows?
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5,
COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, & LPT9
Probably windows doesn't allow you to create a folder in these name using Windows Explorer or Command Prompt directly!
This is because windows prevent these terms as SYSTEM Folder Names which are reserved
for the Operating System. But there is a trick to create it.
Trick for CREATING those folders:
In command prompt,
Type the following:
md \\.\\C:\con
This would create a folder named "con" on your "C Drive"
i.e., md \\.\\(path where you want to create)followed by the name
Similarly to delete such folder:
Type the following in cmd:
rd/s \\.\\C:\con
This would remove the folder named "con".please note that rd(Remove Directory) command is used with "/s" switch as otherwise it would give error that "folder is not empty".
There is other way to create these Folders :
1)Right click on the folder.
2)choose Rename from the pop-up menu.
3)Now press alt and press 255 (from NUMPAD ONLY).
4)you can type any of the above name for that folder and then press enter.
Comments