Wednesday, October 22, 2008

Three microsoft bugs..!!

These are some weired bugs in microsft products

1. Open a word document, type =rand (200, 99) and press ENTER.

Actually there is no significance for the numbers 200 and 99, say we are entering =rand(x,y) in word, it will create the sentence "The quick brown fox jumps over the lazy dog." y times in x paragraphs.

eg: if we are entering =rand(2,1) , the output will be like this

The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.

or some other "random" sentences.

2. Try creating folders named : CON, NUL, COM1, COM2, COM3, LPT1, LPT2, LPT3,COM1 to COM9 and LPT1 to LPT9. It will not allow to change the name of folder. But there are two ways to create these folders in Windows.

a) Go to cmd prompt and try the command md\\.\\c:\\con. It will create con folder inside C drive.

b) While naming the folder, type 'CON' and type c55 in the numpad holding the alt button.

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

Noticed the weird bug? Actually not only the sentence "Bush hid the facts"..but a lot of sentences have this behaviour. The first word with even number of letters and all other words with odd number of letters will create this problem..eg: try "rake did bad thing". It will just show 9 squares or some chinese characters..:).

But if we are saving the notepad using unicode encoding instead of ANSI encoding, there is no problem. Even opening the file with unicode will help.

No comments: