StatCounter

View My Stats

Tuesday, February 10, 2009

Shell command in VBScript

Shell command in VBScript


'VBScript File
dim program
program="C:\Windows\System32\notepad.exe"
set oShell =CreateObject("wscript.shell")
oShell.Run(program)


For the above example i am running the system file through shell command

No comments: