Microsoft Magic

ChuttaFX

Member
Nov 15, 2008
4,587
12
0
udithag said:
MAGIC #1

An Indian discovered that 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
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.

can you believe it?


MAGIC #3
microsoft crazy facts


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

It was discovered by a Brazilian. Try it out yourself...

Open Microsoft Word and type

=rand (200, 99)

And then press ENTER
then see the magic...............................


First one "CON" folder
That's not a bug or secret.:yes:

Several special file names are reserved by the system and cannot be used for files or folders: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL. This goes back to DOS 1.0 which didn't support subdirectories, lowercase, or filenames longer than 8.3. '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 you would have a file called newfile.txt containing whatever you wrote in the console. Since they are still relied on with things like batch files (redirect to >NUL) they are still reserved today.



Second one "bush hid the facts"

Notepad makes a best guess of which encoding to use when confronted with certain short strings of characters that lack special prefixes. The encodings that do not have special prefixes and which are still supported by Notepad are the traditional ANSI encoding (i.e., "plain ASCII") and the Unicode (little-endian) encoding with no BOM. When faced with a file that lacks a special prefix, Notepad is forced to guess which of those two encodings the file actually uses. The function that does this work is IsTextUnicode, which studies a chunk of bytes and does some statistical analysis to come up with a guess. Sometimes it guesses wrong and displays random characters after you save and open the file. Any combination of characters in the same order 4-3-3-5 will cause the same problem: "Bill lie and cheat" "this app can break", "hhhh hhh hhh hhhhh", "this isa bug dummy" ect...

I found these info from another web site!
 
Last edited:

harintheman

Member
Jul 5, 2008
3,934
23
0
?
MAGIC #1
It is in fact perfectly true that you cannot create a folder named "CON", nor can you rename an existing folder to "CON". However, the "team" at Microsoft, and a great many others besides, know perfectly well why you cannot name a folder "CON".

"CON" and a number of other character strings are in fact reserved names that go back to the days of DOS and cannot be used to name folders or files. Other reserved names are:
  • PRN
  • AUX
  • NUL
  • LPT1
  • COM1
  • Potential drive letter - A: to Z:
  • A number of others
If you try to name a folder using one of these reserved names, the name will automatically revert to the default, generally "New Folder". Moreover, if you try to use a reserved name to name a file such as a Notepad or Microsoft Word document you will generally receive an error message similar to the following:
folder-con.jpg

Depending on exactly how you save the file, you may instead receive a warning message advising that a file with that name already exists. However, even if you choose "Yes" to overwrite the existing file, you will still not be allowed* to save the file.

While there is no mystery about this issue, it might have saved user confusion if Windows displayed an explanatory error message when attempting to create a folder with a reserved name as well.

For more detailed information see:
MS-DOS Device Driver Names Cannot be Used as File Names

MAGIC #2
It is true that, when the phrase "Bush hid the facts" is typed into the Windows XP or Windows NT/2000 versions of Notepad as instructed above, the re-opened file displays an unreadable line of squares or Chinese style characters.

The first image below shows the text before closing the Notepad file. The second image shows the text as it is displayed after the file is re-opened:
bush-hid1.jpg
bush-hid2.jpg

Some of the more wide-eyed conspiracy theorists postulate that this result is a form of political commentary directed against US President Bush.

Alas, the truth is far less compelling. It appears that a lot of other character strings in the pattern 4 letters, 3 letters, 3 letters and 5 letters will give the same result. For example, the phrase "Bill fed the goats" also displays the garbled text as shown below:
goat1.jpg
goat2.jpg

In fact, even a line of text such as "hhhh hhh hhh hhhhh" will elicit the same results.

However, some character strings that fit the "4,3,3,5" pattern do not generate the error. For example, the phrase "Bush hid the truth" is displayed normally. However, conspiracy theorists should not take this as aiding their argument. "Fred led the brats", "brad ate the trees" and other strings also escape the error.

Thus, any hint of political conspiracy fades into oblivion and is replaced by a rather mundane programming bug. It seems that a certain combination and/or frequency of letters in the character string cause Notepad to misinterpret the encoding of the file when it is re-opened. If the file is originally saved as "Unicode" rather than "ANSI" the text displays correctly. Older versions of Notepad such as those that came with Windows 95, 98 or ME do not include Unicode support so the error does not occur.

MAGIC #3
Using the rand() function in the way described automatically adds several sentences and paragraphs that repeat the words, The quick brown fox jumps over the lazy dog. These words are often used for testing because, together, they contain all the letters in the English alphabet in one concise and coherent sentence. Such a sentence is known as a pangram.

You can alter the results of the rand() function by adding numbers in the round brackets. The first number controls the number of paragraphs while the second number controls the number of sentences in each paragraph. For example, using "rand(3,5)" will add three paragraphs of five sentences each.

Far from being a mystery, this is a well-documented feature of Microsoft Word that simply allows sample text to be quickly added to a document for testing purposes. Microsoft can in fact "explain the result" and does so in an article on the MS Support website.

Thus, although these little computer tricks are interesting, there is no mystery or magic involved and Microsoft certainly does know about them.

http://www.hoax-slayer.com/images/folder-con.jpg