VBScripting (.vbs) Basic tutorial on how to use the run command in vbscript to open a program, file, and folder. Also how to get pass the problem when there is a space in your file or folder name.
Code Example:
______________________________________________________
Option Explicit
Dim obj, a, b, c
Set obj = CreateObject("wscript.shell")
a=MsgBox("Open a Program?",vbYesNo+vbQuestion+vbSystemModal)
If a=vbYes Then
obj.Run "mspaint.exe"
b=MsgBox("Open a Folder?quot
آی-ویدئو