Cool Notepad Tricks
So hey guys, in this blog I will be showing you some cool notepad and cmd tricks and codes.
None of them will seriously damage your computer, but you do them at your own risk.
Shutdown
This trick shuts down the computer after displaying a message. It goes without saying that this can be dangerous and can cause people to lose unsaved work.
open notepad
type:
@echo off
msg * your message here
shutdown -c “your message here” -s 30
msg * your message here
shutdown -c “your message here” -s 30
Now save the file with any name, but make sure it has the '.bat' extension
----------------------------------------------------------------------------------------------------------------------------------
open some software many times
open notepad
type:
@ECHO off
:top
START %SystemRoot%system32notepad.exe
GOTO top
:top
START %SystemRoot%system32notepad.exe
GOTO top
Then save as 'anything.bat'
you can change which piece of software opens, by typing in the route to the file after 'START'
----------------------------------------------------------------------------------------------------------------------------------
Continually type a message
This will make your victims keyboard continually type a message, for this example, I have put 'you have been trolled' but you can change that to whatever you like.
in notepad, type:
Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “You have been trolled”
loop
do
wscript.sleep 100
wshshell.sendkeys “You have been trolled”
loop
and save it as 'anything.vbs'
----------------------------------------------------------------------------------------------------------------------------------
continually pop out c.d drives
This trick is very amusing, especially if you can see your victims reaction!
open notepad
type:
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
Save as 'anything.vbs'
----------------------------------------------------------------------------------------------------------------------------------
0 comments:
Post a Comment