Want to create a folder that can never be
- Created(By others)
- deleted(By others)
- Renamed
- Moved
- Copied
Read on…….
You cannot create a folder named any of these keywords : CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.
This is because Windows will not let you create a folder of any of the keywords mentioned above for a simple reason that these keywords are used by Windows internally and are reserved Keywords. CON is used for CONSOLE, PRN for PRINTER, AUX for AUXILIARY DEVICE, LPT’s for PARALLEL PORTS and such. Microsoft has taken this initiative to avoid any conflict that may arise as a result of using these keywords.
But who cares……..
Now how to create this folders? Here are the steps
- Start>RUN
- Type>cmd
- Type>cd (Navigate to folder where you want to create special folder using cd command)
- Type>mkdir con//.//
And Holla!!!! The folder is created.
If you are fed up enjoying this and have thought of deleting those daemons, ask in comments.
why do we need double slash(//) dot(.) then again double slash(//) for this kind of folders..??
ReplyDeleteBecause "//" means we are referring to server. Whenever we want to access files on remote computer, we use "//".
ReplyDeleteE.G. "//192.168.5.2" will allow us to access shared folders on "192.168.5.2" computer.
"." means current directory (Refer http://en.wikipedia.org/wiki/Current_directory 4th line if you have confusion)
Now writing ".//" means current server. In other words .// means our Computer.
So finally //.// means we are creating con folder on a server(//) which is our computer(.//)
"Undha hathe kan pakadvo" better describes this procedure.