Tech Ticker > >

6/recent/ticker-posts

Askwiki Cashkaro

Folder named "CON" cannot be created on XP, Windows

Askwiki Exclusive
Did you know ? 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 "new 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!

Tip: How to hide private folder on XP

Post a Comment

7 Comments

Anonymous said…
how those md\\.\\c:\con posible? what is the use of \\.\\ and why cant we just use md c:\con?
Paramjit Singh said…
thank's Sir..
Unknown said…
iam proud of you
Unknown said…
i give u one suuggestion to create this (con & aux) both folder it is possible.

Give Name Con to the folder but dont't press enter use Alt + 255 and then press enter key......and you surprized that ur folder created as well as aux folder !!!!
mail me at for any Question:- buntykhimta.2008@gmail.com
Shru said…
how to delete the CON folder created through cmd ? as for direct delete its showing the folder no longer exists in the drive and its location has changed but its very much there ! :S
Shru said…
how to delete that folder ?
udhai said…
udhai ya its very usefull and one person challenged me. Now i will break it. Thank u...udhai ya its very usefull and one person challenged me. Now i will break it. Thank u...