TinyPortal
General => Chit chat => Topic started by: akulion on March 25, 2007, 09:13:18 AM
Hello evry one...
Try to create a folder with the name-
con
(IN WIN OS)
HA HAAH HAA
U CANT....
How come ?
Because ;)
Quote
'con' is a reserved word from the old DOS days, simply meaning 'console'. If you wanted to create a new text file in DOS you could type 'copy con newfile.txt' meaning copy from the console to newfile.txt. This would let you type some lines and when you ended the file with ^Z (DOSish for 'end of file') you would have a file called newfile.txt containing whatever you wrote in the console. This is indeed still possible in the Windows XP console, and can you see what mess it would cause if you let files or folders have the name 'con'? What would 'copy con newfile.txt' then mean? BSOD?
this is a list of other DOS devices that can't be used as folder names:
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.
Now we're telling on ourselves, Lesmond. Don't miss those days at all!
That is definitely 'old school' and entirely correct.
I must admit I didn't know! :idiot2: I had to Google it ;) hence the quote.