Created
June 4, 2011 15:53
-
-
Save terrancesnyder/1008005 to your computer and use it in GitHub Desktop.
VBScript + Batch to run windows in background
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================ run.vbs ================ | |
REM 0 = hide window, 1 = show window (useful for debugging) | |
Set WshShell = CreateObject("WScript.Shell") | |
WshShell.Run """" & "run.bat" & """" & sargs, 0, False | |
Set WshShell = Nothing | |
================ run.bat ================ | |
REM Batch script to start VirtualBox instance of ReviewBoard in headless mode | |
start /b "" "C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" -startvm "Ubuntu x64 Server" -e "TCP/Ports=8000" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment