Ask Leo!

Why can't I create a folder named CON? (And other "Crazy Facts")

Home » Windows » Windows Oddities

Summary: Unexplained behavior can often seem mysterious and even magical, until the real, more mundane reasons are understood. And so it is with Windows.

A colleague at work got this from the Net. Please check it out and please, please, please try to explain. They're weird. Here it is:

Microsoft's Crazy Facts

MAGIC #1

Nobody can create a FOLDER anywhere on the computer which can be named as "CON". This is something pretty cool...and unbelievable. .. At Microsoft the whole Team, couldn't answer why this happened! TRY IT NOW, IT WILL NOT CREATE "CON" FOLDER

MAGIC #2

This is something pretty cool and neat...and unbelievable. .. At Microsoft the whole Team, including Bill Gates, couldn't answer why this happened! Try it out yourself...

Open Microsoft Word and type"

=rand (200, 99)

And then press ENTER

MAGIC #3

For those of you using Windows, do the following:

1. Open an empty notepad file
2. Type "Bush hid the facts" (without the quotes)
3. Save it as whatever you want.
4. Close it, and re-open it.

Is it just a really weird bug?

I know I'm straying just slightly off center here dealing with what is, essentially, just a forwarded urban legend email. But the neat thing about all three of these "magics" is that parts are true, parts are false, and all have completely rational reasons.

First, let's throw out the falsehood: plenty of people at Microsoft can tell you exactly what's going on in each of these cases. Even perhaps Bill himself, though he'd never actually get dragged into something silly like this.

#1: you can't create a folder called CON.

True.

In fact, I think you'd have to jump through some hoops to get a file named CON as well. There may be ways to force one or the other, but in general, you can't create a file called CON.

"CON" is a reserved name that dates back to the days of MS-DOS and is short for "CONsole". The idea is that any program could write to the screen or read from the keyboard simply by opening and acting on a file by the name of CON. Try this sometime in a Windows Command Prompt:

COPY readme.txt CON
"None of these are 'magic' at all. They're simply intended behaviors or explainable bugs."

For our example "readme.txt" is any convenient text file you have laying about. That will cause the file to be "copied to the console" - i.e., displayed on the screen.

Other possibly reserved filenames include things like COM1, COM2, and so on for your serial or modem ports, and LPT1, LPT2 and so on for printer ports.

#2: =rand(200,99) in Microsoft Word outputs a bunch of stuff.

True.

The rand() function is in Word specifically to automatically generate text. In some versions it produces the string "The quick brown fox jumped over the lazy dog" (every character in the standard English alphabet). Apparently, it may generate other text in other versions.

It's intentional, as documented here in Microsoft's knowledgebase.

The first number, by the way, is the number of paragraphs of automatic text to generate, and the second is the number of lines in each paragraph.

For even more fun, try the =lorem() function; same idea, different text.

#3: "Bush hid the facts" in notepad returns Chinese or other characters.

True. (Depending on your version of Notepad.)

I hadn't actually heard of this one, but sure enough - a quick search gave me the answer right away.

It's a bug in some versions of notepad that is nothing more than misinterpreting an ANSI text file as Unicode. While "Bush hid the facts" is popular among conspiracy theorists and internet meme generators, there are several different word patterns that can generate the same problem.

As I said, it's a known bug in Notepad. It appears to have been fixed in recent versions and updates of both XP and Vista.

It's also documented more fully here on Wikipedia.

None of these are "magic" at all. They're simply intended behaviors or explainable bugs.

Nothing to see here. Move along. (And don't forward the conspiracy email any further.)

Related:

Article 12527 | Posted July 3, 2008

Recent Comments
10 Comments

Leo,

Your link to Wikipedia is incorrect. You might have intended http://en.wikipedia.org/wiki/Notepad

Posted by: John Hileman at July 3, 2008 4:18 PM

you are right leo , i see these "Microsoft's Crazy Facts" in too much forms and the most thing make me laugh this part "Bill Gates, couldn't answer why this happened" ,> this is one of the programming rules.

and thank you leo to clarify some of these what people thinks it's magic ..
http://www.fosdir.com/links

Posted by: peter at July 4, 2008 5:12 AM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The notepad link's been fixed. It's actually a link to
http://en.wikipedia.org/wiki/Bush_hid_the_facts

Leo


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFIb7KYCMEe9B/8oqERAh8sAJ9j+LB1Rkhl5ePH5BPijGTbGVRcvACgi5Oi
h355QVelB/KgUQ3tHpFZLPk=
=XPRW
-----END PGP SIGNATURE-----

Posted by: Leo at July 5, 2008 10:43 AM

"The quick brown fox jumped over the lazy dog" does NOT contain every character in the standard English alphabet. It should be "the quick brown fox jumps over the lazy dog" which contains the "s".

Posted by: Frankie at July 7, 2008 7:58 AM

Creat a new folder then rename it so right click choose Insert Unicode Control Character then Left-to-right mark name it CON , I think that is ok.
thanks.

Posted by: Deyaa Addeen Fahmy Shedeed at July 8, 2008 8:40 AM

What about the function you mentioned Leo =lorem() function, i tried it but nothing happed

Posted by: Ebrahim Alashiri at July 8, 2008 11:32 PM

You can make con. Use at your own discretion:

Try this:

click on Start then Run and type cmd
hit enter

then try the following command

md \\.\c:\con

so it should look like this at the command prompt:

c:\> md \\.\c:\con

to remove:

c:\> rd \\.\c:\con

note: You don't type c:\> - thats just the command prompt
and there is a space between > and md (or rd) and a space between md and \\

http://www.geocities.com/terryhollett2003/

Posted by: Terry Hollett at July 9, 2008 5:46 AM

=lorem() only works with Word 2007, not 2003

Posted by: Tim Glover at July 9, 2008 10:55 AM

i made a folder named Con tryin the command prompt ... now i cant delete it... any1 can help me??

Posted by: Eug999 at July 27, 2008 10:26 AM

"Con" also refers to control Pannel. it's a reserved word. hence can't use it.
(in a notepad try name a file with "Con", you'll get to see it)

Posted by: Paul at September 24, 2008 10:35 PM

Post a comment on "Why can't I create a folder named CON? (And other "Crazy Facts")":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

New!

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

Please wait. Your comment is being processed ...


Ask Your Question:


ask-leo.com
Web

Stay Informed

Weekly Newsletter

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!

««   »»

Question? - Ask Leo!
Who is Leo?
Link to Leo!

Terms, Conditions & Privacy