Vikash Kumar
April 03, 2015
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
@ECHO off:Beginmsg * Heymsg * Want to have Fun?msg * You do?msg * We will both have fun, alright?msg * More fun?GOTO BEGIN
- Save the file with any file name but with .bat as extension and close it.
- For eg. cool.bat
6) Notepad Trick to shutdown computer forcefully
- Open Notepad.
- Paste the following code in it:
@echo offmsg * Shutdown computer.shutdown -c “Sleep Tight” -s7) Notepad Trick to Lock FoldersLets lock a folder using notepad trick which is named as PICS in your D: drive , whose path is D:PICSThen the code should be something like this:
ren pics pics. {21EC2020-3AEA-1069- A2DD-08002B30309D}
Pics is your folder name. Use the name of the folder in place for pics. Save the text file as lock.bat in the same drive.
To unlock this locked folder:
Open another new notepad text file and type the following:
ren pics. {21EC2020-3AEA-1069- A2DD-08002B30309D} pics
Save the text file as key.bat in the same drive. Here again, pics is the name of the folder. Change it to the folder name you want to lock it.
8 ) Notepad Trick to type slowly
- Open Notepad.
- Paste the following code in the notepad file:
WScript.Sleep 180000
WScript.Sleep 10000
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! “
- Save the file with any name and with .vbs extension and close it.
Now open the file and see how freakishly slow the messages appear!
NOTE: In order to stop it. Follow the “Note” given in 10th Trick.
9) Infinite Notepad Trick
- Open Notepad.
- Paste the following code in your notepad file:
@ECHO off
:top
START %SystemRoot% system32notepad.exe
GOTO top
- Save the file with any name nut with .bat extension and close it.
10) Notepad Trick - Text to Audio
- Open Notepad file on your Windows PC.
- Copy and paste the below mentioned code :
Dim msg, sapi
msg=InputBox("Enter your text for conversion www–.techvorm.com","TechVorm Text-To-Audio Converter")
Set sapi=CreateObject ("sapi.spvoice")
sapi.Speak msg
- Save this file with any name with .vbs as extension. For eg. Text-To- Audio.vbs
11) Notepad Trick - BUSH HID THE FACTS
- Open notepad.
- Type BUSH HID THE FACTS
- Save that file.
- Close it
- Open It Again See…
12) Notepad Trick Print Tree Root
Open NOTEPAD and enter {print tree root}
After that hit enter and type C:windowssystem
After that hit enter and type {print C:windowssystemwinlog
Hit enter and type 4*43″$@[455] 3hr4~
Then save the file as teekids in C:windowssystem.
13) World Trade Center Notepad Trick
Open your Notepad
Type the flight number Q33N
Increase the Font Size to 72
Change the Font to Wingdings
14) Notepad Trick to Format Hard disk
Open Notepad and type:
a) Code : 01001011000111110010010101010101010000011111100000
b) Save As it as anything.EXE
c) Run it. Beware that the entire HDD will be erased
I hope you enjoyed these awesome and cool Notepad tricks