954,301 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

why we can't take 'con' as a folder name?

hi...
every one

Can anyone reply me that why can't we take 'con'

as folder name Or any file name....?

nitu_thakkar
Light Poster
28 posts since Jan 2009
Reputation Points: 0
Solved Threads: 1
 

http://blogs.msdn.com/oldnewthing/archive/2003/10/22/55388.aspx
Scroll down a couple of pages.

CON was (or still is) the console where you interact with the command interpreter.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

wow I never new that. Really interesting there is such a big quirk in windows... although not that suprising.

roryt
Nearly a Posting Virtuoso
1,286 posts since Oct 2005
Reputation Points: 178
Solved Threads: 15
 

really? lemme try that... oh yeah... its a reserve word for control panel it says...

Jen0608
Junior Poster
179 posts since May 2008
Reputation Points: -30
Solved Threads: 10
 

You can refer this:

How To: Create a CON Folder in Windows Vista or in XP

Read this amazing fact:-

“An Indian discovered that nobody can’t create a FOLDER anywhere named as “con“. This is something pretty cool….and unbelievable . At Microsoft the whole Team, including Bill Gates, couldn’t answer why this happened!!!”

In Microsoft’s Windows operating systems like Windows XP or in Vista we cant create folders with 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 directly from GUI. This is because, DOS device names are reserved words, and cannot be used as folder or file names.

francisabey
Junior Poster in Training
85 posts since Aug 2008
Reputation Points: 18
Solved Threads: 6
 

Okay do one thing press Alt and type 255 from NUM keys and then tried to write any one of name from given list : CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 ; and see it happened .
or still confused okay best trick is
1. run>cmd>ok
2. press md\\.\\c:\\con
< dir path > is path for making this folder
3. press Enter to make it.

Try to del it .
Is it not deleated , why!!?

[email]KumarUtkarsh@

KumarUtkarsh
Newbie Poster
12 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

From early DOS command interpreter. We used copy con c:\path bla bla..to enter data or to make it appear that data was coming from "console"

Canukc
Newbie Poster
1 post since Aug 2010
Reputation Points: 10
Solved Threads: 0
 

May be 'con' or other words like that only appear to Windows GUI version...

Sadun89
Junior Poster
164 posts since Jan 2011
Reputation Points: -6
Solved Threads: 5
 

nothing fascinating...
in DOS shell 'copy con' is a command for making a file.
like: "copy con new.txt"
and 'copy' is for copying a folder
so, it is reserved command by its creators to avoid ambiguity.

BlackHawck
Newbie Poster
11 posts since Aug 2010
Reputation Points: 20
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: