Myanmar IT Resource Forum
Myanmar IT Resource Forum

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 10 notepad trick on 22nd February 2010, 12:40 pm

#twotwo22#


MITR Beginner



MITR Beginner
ဒီပိုစ့္ကရွိျပီးသားလားေတာ့မသိဘူးဗ်..မရွာတတ္လို႕ပါ
ရွိျပီးသားဆို..ထပ္တင္တာကိုသီးခံပါခင္ဗ်ာ
ေခါင္းစဥ္ နဲ႕ေတာ့သိပ္မကိုက္ဘူးဗ်.. bat file programming မွာ Note pad အေၾကာင္းလာေရးတယ္ေပါ့ဗ်ာ..
ဘယ္နားမွာတင္ရမွန္းမသိလို႕ေလ.. he`` Razz

10 notepad tricks
Toggle your friend's Caps Lock button simultaneously:

Open Notepad and Type :
Code:
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop
Save it as "Anything.VBS" and send it

2>olredy posted
Continuously pop out your friend's CD Drive. If he / she has more than one, it pops out all of them!
Type :
Code:
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 it as "Anything.VBS" and send it.


3>
Hack your friend's keyboard and make him type "You are a fool" simultaneously:
Type :
Code:
Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop
Save it as "Anything.VBS" and send it.


4>
Frustrate your friend by making this VBScript hit Enter simultaneously:
Type :
Code:

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "~(enter)"
loop
Save it as "Anything.VBS" and send it.


5>olredy posted
Open Notepad, slowly type "Hello, how are you? I am good thanks" and freak your friend out:
Type :
Code:
WScript.Sleep 100
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 it as "Anything.VBS" and send it.



6>
Frustrate your friend by making this VBScript hit Backspace simultaneously:
Type :
Code:
MsgBox "Let's go back a few steps"
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop
Save it as "Anything.VBS" and send it.


7>
Cycle a message in your friend's computer:

Type
Code:
@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN
Save it as "Anything.BAT" and send it.


8>
Convey your friend a lil' message and shut down his / her computer:
Type :
Code:
@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid!" -s
Save it as "Anything.BAT" in All Files and send it.



9>
Open Notepad continually in your friend's computer:
Type :
Code:
@ECHO off
:top
START %SystemRoot% ystem32notepad.exe
GOTO top
Save it as "Anything.BAT" and send it.


10>

Hard prank: Pick your poison batch file. It asks your friend to choose a number between 1-5 and then does a certain action:

1: Shutdown
2: Restart
3: Wipes out your hard drive (BEWARE)
4: Net send
5: Messages then shutdown

Type :
Code:
@echo off
title The end of the world
cd C:
:menu
cls
echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press 'x' then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc...
pause
echo Pick your poison:
echo 1. Die this way (Wimp)
echo 2. Die this way (WIMP!)
echo 3. DO NOT DIE THIS WAY
echo 4. Die this way (you're boring)
echo 5. Easy way out
set input=nothing
set /p input=Choice:
if %input%==1 goto one
if %input%==2 goto two
Save it as "Anything.BAT" and send it.

2 Re: 10 notepad trick on 22nd February 2010, 5:06 pm

sHa92


Founder



Founder
thanks for your contribution bro.

Some of your codes are .vbs not .bat bro.

Regards,
$ƴǩǾ



Change We Need!
http://www.myanmaritresource.info

3 Re: 10 notepad trick on 30th March 2010, 12:17 pm

ပိစိေလး


MITR Reader



MITR Reader
yeah and some paths are broken.

http://forum.mmitd.com/pixielay

4 Re: 10 notepad trick on 31st March 2010, 9:30 pm

blackfire903


MITR New User



က်ြန္ေတာ္ တစ္ခုေမး မယ္ေနာ္. .. bat file နဲ႕က်ြန္ေတာ္ ေပးခ်က္တဲ location တစ္ခုမွာ autorun.inf ကို auto ေပးေရးခ်င္တယ္ အဲဒါဘယ္လို ေရးရမွလဲ ဟင္.
ဆိုလိုခ်င္တာ က bat file ကို click လိုက္တာ နဲ႕ autorun.inf ဖိုင္ထြက္လာတာကိုေျပာတာေပါ႕ဗ်ား..

5 Re: 10 notepad trick on 1st April 2010, 10:50 am

solakoko


Moderator



Moderator
မသိပဲနဲ ့၀င္ရႊီးလိုက္မယ္ ေနာ္ လြယ္လြယ္ေလးကို
Code:
http://www.myanmaritresource.info/batch-file-programming-f88/bat-file-autorun-t338.htm
ဒါက autorun တည္ေဆာက္ပံုေလးပါ။
အရင္ဆံုး
autorun လုပ္ျပီးတစ္ေနရာမွာသိမ္းလိုက္.ဥပမာ။ ။C: or E: တစ္ခုခုေပါ့
ျပီးရင္ notepad ထဲမွာ
start C:\autorun.inf or
start D:\autorun.inf

လို ့ေရးျပီး ဖိုင္ကို .bat နဲ ့သိမ္းလိုက္ရျပီ..
ျပီးရင္ သိမ္းထားတဲ့ bat file ကို double click နဲ ့ဖြင့္ၾကည့္
ေအာ္တိုရမ္း ဖိုင္တက္လာလိမ့္မယ္..ေနာ့္



[You must be registered and logged in to see this image.]

6 Re: 10 notepad trick on 1st April 2010, 9:03 pm

blackfire903


MITR New User



ေက်းဇူးပါပဲဗ်ား က်ြန္ေတာ္ဆိုလိုတာက အဲလိုမဟုတ္ဘူး အစ္ကိုေရး bat န႕ဲ autorun.inf ကုိ created လုပ္တာကိုေျပာတာ တစ္ေနရာမွာဖြက္စရာမလိုပဲနဲ႕ bat file ကို click လိုက္တာ နဲ႕ autorun.inf ဖိုင္ထြက္လာတာကို ေျပာတာဗ်႕ ဆိုလုိတာက autorun ကုိ created လုပ္တဲ႕ ကုတ္ေပါ႕ဗ်႕

7 Re: 10 notepad trick on 2nd April 2010, 8:06 am

solakoko


Moderator



Moderator
ဟုတ္ကဲ့
ေအာ္တိုရမ္း ကို Creat လုပ္ခ်င္တာဆိုလဲ က်ေနာ္ေပးတဲ့ လင့္ခ္ မွာ ရွာၾကည့္လို ့ရတယ္
ေအာ္တိုရမ္းဖုိင္ တည္ေဆာက္တဲ့ ကုဒ္ေတြ ရွင္းျပထားပါတယ္။



[You must be registered and logged in to see this image.]

8 Re: 10 notepad trick Today at 9:04 am

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

Make a forum | © PunBB | Free forum support | Contact | Report an abuse | Free forum