Hi Everyone today i'm gonna share some of the most famous tricks of windows operating system. well probably these tricks you all know very well but i do lot's of fun with these tricks so i share them again..!
Creating a folder con
Many ppl dont know that they cannot create "CON" folder in windows. (Type 1)
Some ppl dont know why they cant create it? (Type 2)
Very few know that they can still create it someway.. but donno why are they supposed to do exactly like that..(Type 3)
Now, After reading this tutorial, you will become one of the rest
Try out creating a folder named CON or LPT or COM1
Now, you have become Type 2 category.
Not only CON, we cannot create any of these
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more
The reason is that con, prn, lpt1..lpt9, etc are underlying devices from the time dos was written. so if u r allowed to create such folders, there will be an ambiguity in where to write data when the data is supposed to go to the specified devices. In other words, if i want to print something, internally what windows does is -- it will write the data to the folder prn (virtually u can call it a folder, i mean prn, con, etc are virtual folders in device level). So if we are able to create con folder, windows will get confused where to write the data, to virtual con folder or real one.
So Now, Try this...
Open the Command prompt by Start -> Run and typing cmd
Now, Open My Computer and browse through the path where you created CON folder... Surprising.. ?? Yeah.. you have created it successfully
Now, try to delete the folder from My computer
OOPS!!! You cant delete it...
Now, try this in command prompt console
Yeah!! You did it...
Well, let us now have a glance at how we were able to create it...
It is just because of the UNC Path (Universal Naming Convention) - Wikipedia, the free encyclopedia. The Universal Naming Convention, or UNC, specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer.Since, these conventions did n't exist under pure DOS, they are not backward compatible. The UNC syntax for Windows systems is as follows..
\\RemoteHost\sharedfolder\resource
where RemoteHost is the computer name / IP address of the computer that you wish to connect through remotely for accessing shared folder. The rest is the path.
(Here \\remotehost\drive:\con doesn't make sense anyway, because without having a process on the remote host, there is no current 'console'). It would be a security hazard as well, having the serial and parallel ports accessible for everyone who is allowed to read or write in any single directory.
The "." in the command \\.\c:\con suggest the local server. Now, you are pointing to your own computer. since, you have all privilages on every folder of ur computer, you can easily create it.
Some Of Notepad Tricks
Creating a folder con
Many ppl dont know that they cannot create "CON" folder in windows. (Type 1)
Some ppl dont know why they cant create it? (Type 2)
Very few know that they can still create it someway.. but donno why are they supposed to do exactly like that..(Type 3)
Now, After reading this tutorial, you will become one of the rest
Try out creating a folder named CON or LPT or COM1
Now, you have become Type 2 category.
Not only CON, we cannot create any of these
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more
The reason is that con, prn, lpt1..lpt9, etc are underlying devices from the time dos was written. so if u r allowed to create such folders, there will be an ambiguity in where to write data when the data is supposed to go to the specified devices. In other words, if i want to print something, internally what windows does is -- it will write the data to the folder prn (virtually u can call it a folder, i mean prn, con, etc are virtual folders in device level). So if we are able to create con folder, windows will get confused where to write the data, to virtual con folder or real one.
So Now, Try this...
Open the Command prompt by Start -> Run and typing cmd
Code:
C:\> md \\.\c:\con
Now, try to delete the folder from My computer
OOPS!!! You cant delete it...
Now, try this in command prompt console
Code:
C:\> rd \\.\c:\con
Well, let us now have a glance at how we were able to create it...
It is just because of the UNC Path (Universal Naming Convention) - Wikipedia, the free encyclopedia. The Universal Naming Convention, or UNC, specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer.Since, these conventions did n't exist under pure DOS, they are not backward compatible. The UNC syntax for Windows systems is as follows..
\\RemoteHost\sharedfolder\resource
where RemoteHost is the computer name / IP address of the computer that you wish to connect through remotely for accessing shared folder. The rest is the path.
(Here \\remotehost\drive:\con doesn't make sense anyway, because without having a process on the remote host, there is no current 'console'). It would be a security hazard as well, having the serial and parallel ports accessible for everyone who is allowed to read or write in any single directory.
The "." in the command \\.\c:\con suggest the local server. Now, you are pointing to your own computer. since, you have all privilages on every folder of ur computer, you can easily create it.
Some Of Notepad Tricks
1. Bush Hid the Facts/This App Can Break
This is one of the most popular notepad tricks because of its mysterious nature. In order to get an idea as to what this trick does, just follow the steps given below:
- Open Notepad.
- Type “BUSH HID THE FACTS” or “this app can break” (without quotes).
- Save that file with any name and close it.
- Open It Again to see the magic.
Reason For This Behavior: It is known as the 4335 Rule. It means that if we enter four words separated by spaces, wherein the first word has 4 letters, the next two have three letters each, and the last word has five letters. Then Notepad Automatically hides the text into unknown code.
2. World Trade Center Attack Trick
As you might be knowing that the flight number of the plane that had hit World Trade Center on that dreadful day (9/11) was Q33NY. Now call this trick a coincidence or something else but whatever it is, it does startle us.
- Open Notepad.
- Type “Q33N” (without quotes) in capital letters.
- Increase the font size to 72.
- Change the Font to Wingdings.
You will be amazed by the findings.
3. Make A Personal Log-Book or A Diary
Did you know that you can also use Notepad as a simple digital diary or a personal Log-Book ? Well, if you didn’t then follow the below mentioned steps to make one for yourself !
- Open Notepad.
- Type .LOG (in capital letters) and hit enter.
- Save it with any name and close it.
- Open it again.
When you open the file again you will see the current date and time being inserted automatically after the .LOG line. This will happen automatically every time you reopen the the notepad file.
4. Test Your Anti-Virus
You can also test your anti virus program for its effectiveness using a simple notepad trick. Follow the steps below to know more:
- Open Notepad.
- Copy the code give below in the notepad file:
X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
- Save it with an .exe extension like testvirus.exe
As soon as you save this file, your anti virus program will detect the file (virus) immediately and will attempt to delete it. If this happens then your Antivirus is working properly. If not, then its time to look for some other reliable program.
NOTE: The EICAR test file (#3) is a 16-bit application and cannot be run on 64-bit versions of Windows.
5. Continually pop the CD Drive
- Open Notepad.
- Copy the code given below onto the notepad file:
Set oWMP = CreateObject(“WMPlayer.OCX.7?)Set colCDROMs = oWMP.cdromCollectiondoif colCDROMs.Count >= 1 thenFor i = 0 to colCDROMs.Count – 1colCDROMs.Item(i).EjectNextFor i = 0 to colCDROMs.Count – 1colCDROMs.Item(i).EjectNextEnd Ifwscript.sleep 5000loop
- Save it as “Anything.VBS”.
Now open the file and see the magic! The file will continuously force the CD rom to pop out! And If you have more than one then it pops out all of them!
6. Matrix Effect
Not much to explain, just follow the steps and see the amazing matrix effect happen in your DOS window:
- Open Notepad.
- Copy the below mentioned text in your notepad file:
@echo offcolor 02:startecho %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%goto start
- Save the file with .bat extension like Matrix.bat
Thats it. Just open the file to see the matrix effect right before your eyes!
7. Change The Header/Footer Of Your Notepad File
More often than not whenever you get a printout of your notepad file, it starts with “Untitled” or the filename at top, and “Page ” on bottom. Now if you want to get rid of it or want to change it, just follow the simple steps given below.
- Open Notepad.
- Click on File -> Page Setup.
- Replace the text written in the “Header” and “Footer” box (as shown above) by any of the following codes:
&l Left-align the characters that follow&c Center the characters that follow&r Right-align the characters that follow&d Print the current date&t Print the current time&f Print the name of the document&p Print the page number
8. Constantly Repeat Messages
Using this notepad trick you can annoy anyone and can actually force them to log off or leave the computer (LOL….). This notepad trick will create an infinite cycle of a message in the computer. Follow the steps to know more:
- Open Notepad.
- Paste the following code in the notepad file:
@ECHO off:Beginmsg * Himsg * Are you having fun?msg * I am!msg * Lets have fun together!msg * Because you have been o-w-n-e-dGOTO BEGIN
- Save the file with any file name but with .bat as extension and close it. For eg. Freakymessage.bat
After saving the file just open it (by double clicking) and see what happens.
Pssstttt……. You can piss of your friends by sending it as an email attachment asking them to try it out !
9. Shut-down The Computer After Conveying Any Message
This one is kind of an annoying trick and if used unknowingly can certainly cause problems (am serious). What this trick does is, after conveying a (any) message it shuts down the computer without any confirmation. In order to create the Shutdown file, follow the below mentioned steps:
- Open Notepad.
- Paste the following code in it:
@echo offmsg * Its time to get some rest.shutdown -c “Error! You have to take rest! Byeeeeee” -s
- Save the file with any name but with .bat extension and close it. For eg. TakeRest.bat
NOTE : Use this carefully. If you are playing prank then keep in mind that this may lead to loss as it shuts down the computer forcefully.
10. Toggle Keyboard Button Simultaneously
Using Notepad (and VB) you can set different keys on your keyboard to toggle continuously. Following are the 3 tricks using which different keys can be set to toggle simultaneously. Follow the steps given under each head to try out the tricks.
1. Caps Lock Key
- Open Notepad.
- Paste the following code in the notepad file:
Set wshShell =wscript.CreateObject(“WScript.Shell”)dowscript.sleep 100wshshell.sendkeys “{CAPSLOCK}”loop
- Save the file with anyname and .vbs extension. and close it.
- Now open the newly created file and see how the caps lock key behaves on your keyboard!
2. Hit Enter Key Continuously
- Open Notepad.
- Paste the following code in the notepad file:
Set wshShell = wscript.CreateObject(“WScript.Shell”)dowscript.sleep 100wshshell.sendkeys “~(enter)”loop
- Save the file with any name and .vbs extension and close it.
- Now open the newly created file and see how the enter key behaves!
3. Hit Backspace Key Continuously
- Open Notepad.
- Paste the following code in the notepad file:
MsgBox “Lets Rumble”Set wshShell =wscript.CreateObject(“WScript.Shell”)dowscript.sleep 100wshshell.sendkeys “{bs}”loop
- Save the file with any name and with .vbs extension and close it.
- Now open the newly created file and see how the key behaves!
In order to end the vbs script (stop continuous key presses), open task manager and end the wscript.exe process as shown in image below.
11. Slowly Type Messages
This one is my favorite. Completely harmless trick and perfect for playing pranks on one’s friends. This trick can really freak out anyone! Follow the below mentioned steps to perform this trick:
- Open Notepad.
- Paste the following code in the notepad file:
WScript.Sleep 180000WScript.Sleep 10000Set WshShell = WScript.CreateObject(“WScript.Shell”)WshShell.Run “notepad”WScript.Sleep 100WshShell.AppActivate “Notepad”WScript.Sleep 500WshShell.SendKeys “Hel”WScript.Sleep 500WshShell.SendKeys “lo ”WScript.Sleep 500WshShell.SendKeys “, ho”WScript.Sleep 500WshShell.SendKeys “w a”WScript.Sleep 500WshShell.SendKeys “re ”WScript.Sleep 500WshShell.SendKeys “you”WScript.Sleep 500WshShell.SendKeys “? ”WScript.Sleep 500WshShell.SendKeys “I a”WScript.Sleep 500WshShell.SendKeys “m g”WScript.Sleep 500WshShell.SendKeys “ood”WScript.Sleep 500WshShell.SendKeys ” th”WScript.Sleep 500WshShell.SendKeys “ank”WScript.Sleep 500WshShell.SendKeys “s! “
- Save the file with any name and with .vbs extension and close it.
Now open the file and see how freakishly slow the messages appear!
NOTE: In order to stop it. Follow the “Note” given in 10th Trick.
12. Type “You are a fool” Continuously
Not much to explain, the title says it all! Follow the steps to make this trick work:
- Open Notepad.
- Paste the following code in the notepad file:
Set wshShell = wscript.CreateObject(“WScript.Shell”)dowscript.sleep 100wshshell.sendkeys “You are a fool.”loop
- Save the file with any name but with .vbs extension and close it.
Ope the file and see how it makes you type!
NOTE: In order to stop it. Follow the “Note” given in 10th Trick.
13. Open Notepad continuously
- Open Notepad.
- Paste the following code in your notepad file:
@ECHO off:topSTART %SystemRoot%system32notepad.exeGOTO top
- Save the file with any name nut with .bat extension and close it.
Now open the file and see how it annoys you by opening notepad again and again.
14. Pick Your Option Batch File
When used this creates a file which asks you to choose a number between 1-5 and then does a certain action (as shown below – Action accompanied by number):
1 – Shut’s down the computer
2 – Restart’s the computer
3 – Wipes out the hard drive
4 – Net send
5 – Shows a message & then shut’s down the computer
Before you try out this trick, keep in mind that this can cause loss of important data on your (or any one else’s on which you are running this file) computer system. So BEWARE! In order to create the file, follow the steps given below:
- Open Notepad.
- Paste the following code in the notepad file:
@echo offtitle Get A Lifecd C::menuclsecho I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press ‘x’ then your PC will be formatted. Do not cry if you loose your data or anything.pauseecho Pick your option:echo 1. Die Slowlyecho 2. Instant Deathecho 3. Stay Away From This Oneecho 4. Die this way (For Wimps!)echo 5. Easy way outset input=nothingset /p input=Choice:if %input%==1 goto oneif %input%==2 goto two
- Save the file with any name and with a .bat extension and close the file.
0 comments:
Post a Comment
What's on your Mind Say it below