How to execute an exe from vbScript

Sometime we will need to execute an exe file from our vbs, so here’s the snippet.

Set wsShell = WScript.CreateObject("WScript.shell")
wsShell.run "C:\windows\system32\calc.exe"

Leave a Reply

Your email address will not be published. Required fields are marked *