Not only CON, we cannot create any of these
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more
Now, try to delete the folder from My computer
OOPS!!! You cant delete it...
Now, try this in command prompt console
(Tricks 1)
Without using Command Prompt.
Here is a simple method..........
Rename folder from the right click option........
Now press alt and press 255...
press 255 frm the right sideof the key bords i.e., num pad....
where only numbers r given.....
now write con and then press enter.....huh!!
you ll see a con folder in ur pc
and also you can delete it easily.
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more
The reason is that con, prn, lpt1..lpt9, etc are underlying devices from the time dos was written. so if u r allowed to create such folders, there will be an ambiguity in where to write data when the data is supposed to go to the specified devices. In other words, if i want to print something, internally what windows does is -- it will write the data to the folder prn (virtually u can call it a folder, i mean prn, con, etc are virtual folders in device level). So if we are able to create con folder, windows will get confused where to write the data, to virtual con folder or real one.
So Now, Try this... (Tricks 1)
So Now, Try this... (Tricks 1)
Open the Command prompt by Start -> Run and typing cmd
Code:
C:\> md \\.\c:\con
Now, Open My Computer and browse through the path where you created CON folder... Surprising.. ?? Yeah.. you have created it successfully
Now, try to delete the folder from My computer
OOPS!!! You cant delete it...
Now, try this in command prompt console
Code:
C:\> rd \\.\c:\con
Yeah!! You did it...
(Tricks 1)
Without using Command Prompt.
Here is a simple method..........
Rename folder from the right click option........
Now press alt and press 255...
press 255 frm the right sideof the key bords i.e., num pad....
where only numbers r given.....
now write con and then press enter.....huh!!
you ll see a con folder in ur pc
and also you can delete it easily.
0 comments:
Post a Comment