-
-
Save royopa/18c4fa6804a06016e85781ff47cd623a 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