The "5+16" in the command above tells the computer to create a dialog box with a critical icon and two buttons - "Retry" and "Cancel." By changing the numbers, you can custom-create different error boxes.Prepare to be hacked." This never actually happens in the event of actual hacking, so this will work best on people who don't know much about computers. You might also want to go in a "hacking" direction by using a message like, "I have total access to your system.For instance, try "Terminal Error" as your error title and "Critical fault detected at C://Users/Windows/system32" as your error message. To make your prank believable, try to use error messages and titles that sound like real ones.
This command opens a Windows error dialog box with your specified message in the body of the dialog and your specified title as the dialogue's header. Type this command (including the parentheses and quotation marks), adding an appropriate error message and error title. Do not put quotes around the path, even when there are spaces. Dc:blah or /Dc:path with spacesblah : overrides the default installation directory. Type "x=msgbox("Error message here", 5+16, "Error title here"). The Notepad++ installer executable accepts the three NSIS command-line options: /S : silent installation. This will cause the computer to open a window of Internet Explorer (or whatever program you specified) and then immediately return to the point in the instructions before it opened the program, effectively causing it to open new windows until the command prompt is closed or the computer crashes. Finally, in the line under that, type goto A. Then, in the line under that, type start iexplore.exe (or use some other program).
To open an infinite number of windows, first start a new line and type :A, including the colon.winword.exe - Microsoft Word (tested with version 2013, may work with other versions).Here are just a few ideas for programs you may want to enter after "start": Repeat this "start" command as many times as you'd like - your "virus" will open a window for every time you repeat this command. For example, start iexplore.exe will open a window of Internet Explorer. This command causes the computer to open a window of the program you specify. In place of the phrase of parentheses, put the name of a program on your computer or its precise file location. To open a finite number of windows, start a new line and type the following command into your notepad window: start (program name here).See below for instructions on making both kinds of "virus": This is an important distinction - leaving a program running which opens an infinite amount of windows will eventually crash a computer.
Now, it's time to write a series of commands that will cause your fake virus to open either lots of program windows or an infinite amount of program windows. Write a command to open multiple (or infinite) windows.