Fun Batch File Codes

PS Don't forget to make sure that you have to write these codes in "notepad" from the accessories in the start menu and save it as ".bat" at the end for ex: "anand.bat"

Code #1- The matrix look alike code

@echo off
color a
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

Code #2- E-bomb

@echo off
start iexplore <enter website URL here ex.>

Code #3- Manual message making SPAMMER!

@echo off
msg * <insert message here>

Code #5- Current date and time code

@echo off
echo Here is the current time %date% %time%

Code #6- Black screen march (makes multiple command prompts and overloads computers memory)

@echo off

Code #7- Simple text book diary log

  1. type ".LOG" in caps and all
  2. save as ".LOG.txt"
  3. than simply open the file than walah 

PS this one does not need to be saved as ".bat"

Code #8- Getting your self automated chat

dim fname
fname=inputbox(" Hi whats your name?")
fname=inputbox(" Whats up?")
fname=inputbox(" Thats kool.")

Ps Save as .vbs not .bat and also you can change text inside the quotes 

Code #9- code for opening and closing your CD drive

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count = 1 then
for i = 0 to colCDROMS.Count - 1
Next ' cdrom
end if save as .vbs
Ps save as .vbs not .bat

Code #10- shutdown computer
avidemux2_cli --run j-1.js --run j-2.js --end
shutdown.exe -s -t 00
ps you can change the "00" to how ever many seconds you want ex. "74" so than it will be 74 seconds

Try these codes at your own risk. I'm not responsible for any damage caused to your system while executing some of above code. Enjoy :)


Popular posts from this blog