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 file2.) 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? ?
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...............................
Reason For all this: - As a programmer and as most programmers know, the “CON” is a special device name which stands for console. There are many other reserved devices names in the DOS/Windows OS, such as: AUX, NUL, LPT1, COM1, etc….
However, you would be able to create use such names if you pass a complete file as: “\\.\c:\con”. As an example, follow these steps:
Start -> Run -> Cmd
type: “notepad \\.\c:\con.”
now go to “My Computer” -> “C:” and notice the file named “CON”
Notice that you won’t be able to delete that file simply by selecting it and pressing DEL. If you ask why, it is because (again) Explorer is passing the name “CON” to the operating system’s DeleteFile() API and not its full name
Now to delete this file, simply type “del \\.\c:\con.” in the command prompt
If you want another “CON” (console) trick, here’s one that allows you to create a text file without using notepad or any other text editing tools:
Go to command prompt and type:
copy con hello.txt
start typing anything you want here, for everything you type here will go into the “hello.txt” file
When you want to finish, simply press CTRL+Z (which will show as ^Z on the screen) and press ENTER
If you wonder what’s the CTRL+Z (aka ^Z) it simply marks the EOF (End Of file
File name : Purpose
CON :Console device
PRN :Printer
AUX : Auxiliary device
COM0 COM1 COM2 : Serial ports
COM3 COM4
COM5 COM6
COM7 COM8
COM9
LPT1 LPT2 PRN : Parallel ports
NUL :Bit bucket
As a programmer and as most pro
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 file2.) 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? ?
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...............................
Reason For all this: - As a programmer and as most programmers know, the “CON” is a special device name which stands for console. There are many other reserved devices names in the DOS/Windows OS, such as: AUX, NUL, LPT1, COM1, etc….
However, you would be able to create use such names if you pass a complete file as: “\\.\c:\con”. As an example, follow these steps:
Start -> Run -> Cmd
type: “notepad \\.\c:\con.”
now go to “My Computer” -> “C:” and notice the file named “CON”
Notice that you won’t be able to delete that file simply by selecting it and pressing DEL. If you ask why, it is because (again) Explorer is passing the name “CON” to the operating system’s DeleteFile() API and not its full name
Now to delete this file, simply type “del \\.\c:\con.” in the command prompt
If you want another “CON” (console) trick, here’s one that allows you to create a text file without using notepad or any other text editing tools:
Go to command prompt and type:
copy con hello.txt
start typing anything you want here, for everything you type here will go into the “hello.txt” file
When you want to finish, simply press CTRL+Z (which will show as ^Z on the screen) and press ENTER
If you wonder what’s the CTRL+Z (aka ^Z) it simply marks the EOF (End Of file
File name : Purpose
CON :Console device
PRN :Printer
AUX : Auxiliary device
COM0 COM1 COM2 : Serial ports
COM3 COM4
COM5 COM6
COM7 COM8
COM9
LPT1 LPT2 PRN : Parallel ports
NUL :Bit bucket
As a programmer and as most pro
No comments:
Post a Comment