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 Run Everywhere on 9th April 2010, 10:29 pm

kyawzwathant


MITR Reader



MITR Reader
အင္တာနက္ဆိုင္ေတြမွာ မ်ားေသာအားျဖင့္ run dialogue box ကို သံုးမရေအာင္ ပိတ္ထားတယ္ သံုးလို႔ရေအာင္ဒါေလးေဆာင္ထားေပါ့။
ေအာက္က vbscript ကို notepad မွာကူးပီး RunEveryWhere.vbs နဲ႔သိမ္းပါ ပီးရင္ သံုးခ်င္တဲ့ေနရာယူပီး သံုးလို႔ရပီ။

Code:
Dim cmd
cmd = InputBox("Type Your Command...eg.>>> cleanmgr","Run Command Prompt","cleanmgr")
Dim ws
Set ws = WScript.CreateObject("WScript.Shell")
On Error Resume Next
ws.Run(cmd)
ws.Quit

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

2 Re: Run Everywhere on 10th April 2010, 8:26 am

moeyake


Moderator



Moderator
Oh! It's very cool.
Can you share me if you have any VBS learning ebook.
Thanks Ko Kyaw Zaw for share.



[You must be registered and logged in to see this image.]
မည္သူမွ် ေမြးဖြားစဥ္ကေလာက္ မဆင္းရဲ။

3 Re: Run Everywhere on 10th April 2010, 4:10 pm

kyawzwathant


MITR Reader



MITR Reader
အဲ့ဒီကုတ္က ဘယ္စာအုပ္က ဟာလဲ မမွတ္မိေတာ့ဘူး စာအုပ္လဲ ရွာတာမေတြ႕ေတာ့ဘူး
ေအာက္ကလင့္ေတြကေန သြားေဒါင္းလိုက္ေတာ့ေနာ္ ထပ္ရွာထားလိုက္ဦးမယ္ စိတ္ႀကိဳက္ေတြ႕ရင္
တင္ေပးလိုက္မယ္


Code:
http://www.ebookpdf.net/ebook-pdf_vbscript-professional-projects_3450.html

Code:
http://www.ebookpdf.net/ebook-pdf_managing-windowsr-with-vbscript-and-wmi_2252.html

Code:
http://www.ebookpdf.net/ebook-pdf_microsoft-vbscript-step-by-step_613.html

4 Re: Run Everywhere Today at 7:21 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 | Forumotion.com