Skip to main content

Create Fake Error Message


This is another cool notepad prank that you can do with your friends. It can output any message you want in the form of Windows Error.

First of all open notepad and copy the following code.

  X=Msgbox(“Your Error Message”,0+16,”Title of Error box “) 

Finally save it as error.vbs and open it. You will see a fake error message box with your custom message and title. Play this notepad trick on your friends laptop and have fun. If you replace 0+16 with 1+32 then the message box will contain two buttons (OK and Cancel) and will display a warning query (question mark icon instead of error icon). Similarly you can use combinations of 3+484+64 etc. to generate different error messages.

You can repeat the above error command as many time as you like in order to generate multiple error messages in sequence.