Wednesday, February 6, 2008

Interesting stuffs

1) Open a file or folder and try to name it as:

  • con
  • aux
  • prn
  • com1
  • com2
  • com3
  • com4

Windows XP renames it back to what it was. Try to create the folder from a cmd prompt failed with the above list of names. It shows an error "The directory name is invalid."

This is because they are System Device Drivers. If want to check, go to command prompt. Then type,

c:\>mem /d |more

You'll get the list of programs and "System Device Drivers" loaded in the Memory.

2) Try to rename a folder or shortcut on XP to CON (or other device driver name) it changes it back to the same name. but if you change the name of My Computer, Network Neighborhood or My Documents to CON it allows.

This is because they are a virtual folder & its name is stored in the registry.

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.

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. In fact, even a line of text such as "hhhh hhh hhh hhhhh" will elicit the same results.

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.

8 comments:

benjamin rualthanzauva said...

When can't you click on the file and hit F2 :-)

Nancy Lalhriatpuii said...

ben, try it........

benjamin rualthanzauva said...

this con thing? I read about this a few years ago.

Mizohican said...

Would you like to be listed at Ben's website misual.com under the "Zo bloggers latest posts" section where all your latests post will be linked there?

sawmpuia said...

EEE nakin ka awl deuh hunah kalo tichhin ang e :-)

rebecca said...

ka ti chhin a, a ni miah lo, "Bush..." chauh kha a theih nia... :(

Nancy Lalhriatpuii said...

well it worked fine with my PC in office.. guess i need to check them out again...

rebecca said...

ka ti leh chhin a, ka hrethiam ta!! Hetiang a ni: page pakhata kan tih thuah hian, awmzia a nei lova, mahse page tharah chua, "chil chi chi thuai" tih ka chhut pawhin a dik e...lolz