Run CMD in VBS SimonFeiXiang 8:37 PM VBS No comments create a blank text file and put in the code below Set objShell = CreateObject("WScript.Shell") objShell.run("ping 127.0.0.1") Save the file as RunCMD.vbs Share This: Facebook Twitter Google+ Stumble Digg
Create Input Box SimonFeiXiang 7:51 PM VBS No comments create a blank text file and put in the code below myInputBox = Inputbox("Here will show up the detail of the description","This is Input Box") Save the file as InputBox.vbs Share This: Facebook Twitter Google+ Stumble Digg
Saying Hello SimonFeiXiang 3:51 PM VBS No comments This is the most basic thing we can do with VBS. Just create a blank text file and put in the code below WScript.Echo("HELLO! This is VBS") Save the file as Hello.vbs Double click and you will get a message on your screen. Share This: Facebook Twitter Google+ Stumble Digg