Why Window do not permit "Con" as name of any file?

It's not that weird. '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?


Curtsy: http://www.pc-tipstweaks.blogspot.in/
Find more on this topic here. 
Why Window do not permit "Con" as name of any file? Why Window do not permit "Con" as name of any file? Reviewed by Animesh Chatterjee on December 20, 2008 Rating: 5

No comments:

Powered by Blogger.