Skip to content

Instantly share code, notes, and snippets.

@stmn
Last active August 29, 2015 14:20
Show Gist options
  • Save stmn/b9ce60d4e4ebcbd33ff4 to your computer and use it in GitHub Desktop.
Save stmn/b9ce60d4e4ebcbd33ff4 to your computer and use it in GitHub Desktop.
How to run vagrant by executable *.bat file / autorun / windows
if not "%minimized%"=="" goto :minimized
set minimized=true
start /min cmd /C "%~dpnx0"
goto :EOF
:minimized
F:
cd F:\my_directory\my_vagrant
vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment