Create VBScript VBS To Run An EXE File Or Windows Applicaion
Posted by in Tips And Tricks May 31, 2012 Leave a comment

Below is a VBScipt (.vbs) that calls an executable file (.exe) or a Windows application. In this example, I create a .vbs file that will call SVN.exe (in TortoiseSVN) command to update source code from my SVN server

VBScipt call an .exe file

Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("""C:\Program Files\TortoiseSVN\bin\svn.exe"" update D:\dev\web\htdocs\4rapiddev")

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at hoan@4rapiddev.com