How To: Look Cool with Notepad with Viruses!

Look Cool with Notepad with Viruses!

Hello Hackers/Viewers,

It is a new day, and you might be thinking, It is so boring, why not try to be cool with computers in front of my friends? That is why, I have made this tutorial to make fake viruses using notepad to look cool!

Step 1: Requirements for the Prank

First off, you will need :

  • Notepad or Notepad++
  • This article
  • Any OS
  • Some friends to show-off to!

Step 2: How Do You Make These Kind of Viruses?

You can make these viruses coding in notepad or notepad++ and saving the files in .bat format. .bat stands for Batch. Batch files are widely used in Windows systems.

Step 3: What Is the Syntax?

There are a lot a commands for making batch files, such as:

  • TITLE <name> : Title command is used to display <name> in the status bar at the top of the console window.
  • @ECHO OFF : This command is used to NOT DISPLAY each of the commands in the Batch file. This is very important & please include this in every Batch file.
  • ECHO <anything> : This command is used to display <anything>.
  • pause : This command is used to pause the system, It displays "Press any key to continue" & if you press any key, the program continues.
  • exit : This command is used to close the console window.
  • :<anything> : This command is used as a function. Anything typed after this will be stores as function<anything>.
  • goto <anything> : This command is used to shift line control to function <anything>
  • color <back><fore> : This command is used to set the color for the console window.
  • set /p <varname>= : It is used to set a variable(<varname>) to accept some values which we input.
  • ECHO %<varname>% : This command is used to display a variable(<varname>).
  • cd <anything> : This command is used to change the current directory.
  • md <anything> : This command is used to make a directory <anything>
  • del <anything> : This command is used to delete the directory <anything>
  • start <anything> : This command is used to start a batch or exe file(<anything>).

How to Create a Matrix Effect

  • This prank will just display a random set of green numbers which automatically keep changing.
  • Copy this code and paste it into Notepad:

@echo off

color 02 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% goto start

  • Once you have this code in a Notepad document, save it as matrix.bat.
  • Open up the file and watch the magic.
  • To end the process, simply close the file.

How to Continually Pop Out the CD Drive

  • This prank constantly pops the CD drive of the victim.
  • Copy the code below and paste in into Notepad:

Set oWMP = CreateObject("WMPlayer.OCX.7?)

Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count – 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count – 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop

  • Once you have this code in a Notepad document, save it as popout.vbs.
  • Send this file to your friends via email and watch the fun.
  • To end this process, open Task Manager(Alt+Ctrl+Delete). Under Processes, end the process "wscript.exe"

Desktop Bomber

@echo off
cd "C:\Users\<put the username of the victim>\Desktop\VIRUS !!"
:folder
md %random%
goto :folder

Save this as bomber.bat. This, when executed, will create unlimited folders in the victim's computer's user(<put the username of the victim>).

Next What?

Next you can make your own virus with the statements provided above!
Thank you for viewing this article & please don't forget to give kudos!

-- nullf0x (smartnuke2427@gmail.com)

Just updated your iPhone to iOS 18? You'll find a ton of hot new features for some of your most-used Apple apps. Dive in and see for yourself:

16 Comments

use %username% environment var. to detect username of target.

@echo off
cd %systemdrive%\users\%username%\Desktop
echo Working Directory : Desktop
exit

Okay, I will do that.

-- nullf0x (smartnuke2427@gmail.com)

Correction:
Batch does not work on any OS. Only Windows.

+1 because of insight with Batch. But be careful what you say, you can only do this on Windows.

I don't know what to say the last one created 37256 folders!

Whee!

just did CD pop out and matrix and both ran with errors in the code

It should come out right, otherwise there is a part of the code that does not work with your PC.

error line 1 char 25 and 37 i counted em out and nothing seemed off

I want to insert an trojan horse on some other's pc for remote accessing. What may i have have to do

i tried the matrix one, it does not work :(

try this one

@echo off
pause
color 0a
mode 1000

:a

echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%

goto a

Share Your Thoughts

  • Hot
  • Latest