TinyPortal

General => Chit chat => Topic started by: akulion on March 25, 2007, 09:13:18 AM

Title: The Con Folder
Post 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....
Title: Re: The Con Folder
Post by: G6Cad on March 25, 2007, 10:49:31 AM
How come ?
Title: Re: The Con Folder
Post by: Lesmond on March 25, 2007, 02:05:44 PM
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.
Title: Re: The Con Folder
Post by: Ianedres on March 25, 2007, 03:51:12 PM
Now we're telling on ourselves, Lesmond. Don't miss those days at all!

That is definitely 'old school' and entirely correct.
Title: Re: The Con Folder
Post by: Lesmond on March 25, 2007, 03:58:10 PM
I must admit I didn't know! :idiot2: I had to Google it ;) hence the quote.