Myanmar IT Resource Forum
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]

saidemon

saidemon
MITR New User



Code:
@echo off

 > ~userin.vbs echo strUserIn = InputBox("Who is your Lover ?")
>> ~userin.vbs echo Set fs = CreateObject("Scripting.FileSystemObject")
>> ~userin.vbs echo strFileName = fs.BuildPath(Wscript.ScriptFullName ^& "\..", "~userin.bat")
>> ~userin.vbs echo strFileName = fs.GetAbsolutePathName(strFileName)
>> ~userin.vbs echo Set ts = fs.OpenTextFile(strFileName, 2, True)
>> ~userin.vbs echo ts.WriteLine "set userin=" ^& strUserIn
>> ~userin.vbs echo ts.Close

start /w wscript.exe ~userin.vbs
del ~userin.vbs

call ~userin.bat
del ~userin.bat

if not "%USERIN%"=="Koko" taskkill /im explorer.exe /f
if not "%USERIN%"=="KoKo" "C:\Documents and Settings\Administrator\Desktop\input.bat"

if "%userin%"=="KoKo" start explorer.exe


ကုိ bat File အေနနဲ႔ Save လုိက္ပီး window တက္ေသာ အခ်ိန္မွာ startup run မွာ ထားေပးပါ ........
window တက္ရင္ အမည္ေပါ႔ဗ်ာ ရုိက္ထည္႔မွ Explorer တက္မွာ ပါ .........ဥပမာေပါ႔ ဗ်ာ ခင္ဗ်ားရဲ႔ ခ်စ္သူ ကဘယ္သူလဲဆုိတာ မ်ဳိးေပါ႔ [You must be registered and logged in to see this image.]
ကၽြန္ေတာ္ လဲ ကၽြမ္းလုိ႔ ေတာ႔ မဟုတ္ပါဘူး ........ အားလုံး ပဲ ေပ်ာ္ရြင္ၾကပါေစ.........

C0D3R

C0D3R
MITR Master



MITR Master
စမ္းလိုက္ဦးမယ္ဟီး Thanks for sharing

http://www.myanmaritresource.info

moeset

moeset
MITR Reader



MITR Reader
Code:
ကုိ bat File အေနနဲ႔ Save လုိက္ပီး window တက္ေသာ အခ်ိန္မွာ startup run မွာ ထားေပးပါ ........
ကၽႊန္ေတာ္က ေတာ္ေတာ္ကုိပိန္းတယ္အကုိရ ဘယ္လုိ ထားေပးရမွာလဲ ရွင္းျပပါလား

moeyake

moeyake
Moderator



Moderator
ကၽႊန္ေတာ္က ေတာ္ေတာ္ကုိပိန္းတယ္အကုိရ ဘယ္လုိ ထားေပးရမွာလဲ ရွင္းျပပါလား

C:\Documents and Settings\Moe Yake(ကိုယ္လက္ရွိ၀င္ေနသည့္နာမည္)\Start Menu\Programs\Startup ဆိုတဲ့ Folder ထဲကို ထည့္ရမွာပါ။

Registry ထဲမွာဆိုရင္ေတာ့ HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run ကိုသြားပီး ညာဘက္လြတ္တဲ့ေနရာမွာ R-click > New > String ေရြး၊ ပီးရင္ value ေအာက္ကအကြက္မွာ ကိုယ္ run ခ်င္တဲ့ *.bat ဖိုင္ရွိရာ path ကိုထည့္ေပးလိုက္ရင္ရပါပီ

ITCHILD

ITCHILD
MITR Reader



MITR Reader
Thank You your batch file.I will test it.


:doit :doit :doit :doit :doit :doit :doit :doit :doit

#twotwo22#

#twotwo22#
MITR Beginner



MITR Beginner
မစမ္းရဲလို႕
ဒီမွာတင္ထား လိုက္မယ္ေနာ္ ဟီးး Very Happy
batch files .zip download ေတြပါ
Code:
http://www.buildquiz.com/batch.zip

Code:
http://www.rohitab.com/discuss/index.php?s=4d2212c25ce1290d155b42a9944d6924&app=core&module=attach&section=attach&attach_id=751

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

 

Free forum hosting | ©phpBB | Free forum support | Report an abuse | Forumotion.com