Folders with name: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, & LPT9
cant be created using Windows Explorer or Command Prompt directly! ( Try this out.. right click on your desktop and try creating folder named "con"it changes back to "ew Folder" )
This is prevented as XP terms these folders as SYSTEM Folder Names reserved only for the Operating System.. But there is a backdoor..(this trick is to create system folders on XP through command prompt )
Try this:
CREATION
Syntax:md \\.\\$path
Example:prompt>md \\.\\C:\con
Explanation: This would create a folder named "con" on your "C Drive"
Similarly to delete such folder:
DELETION
Syntax:rd/s \\.\\$path
Example:prompt>rd/s \\.\\C:\con
Explanation: This would remove the folder named "con"!
Note: rd(Remove Directory) command is used with "/s" switch as otherwise it would give error that "folder is not empty"!
On another hand...if you ever wondered how to create a folder with no name...then try this:
Create a New Folder from Windows Explorer
Select rename & type: "ALT+255"(Use Numpad)..thats it!
ALT+255 stands for blank character in ASCII...so it still accepts your folder name!
2006-11-26 15:19:01
·
answer #1
·
answered by Anita E 1
·
0⤊
0⤋
There are certain DOS commands that cannot be used as a file name. That is probably why you couldn't create it.
Hope that helps.
2006-11-26 23:10:16
·
answer #2
·
answered by phy333 6
·
0⤊
0⤋
Hi. Well that's weird. Don't know why but I'd guess 'con' means something special in Windows. (Concatenate).
2006-11-26 23:11:08
·
answer #3
·
answered by Cirric 7
·
0⤊
0⤋