_vagrant_k03_2.bat 727 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
@echo off
echo loading environment ...
set PROJECT_ENV_REPO_REL_PATH=git\environment
call %PROJECT_ENV_REPO_REL_PATH%\projectVariables-gbe64.bat configOthers 
echo environment loaded

set VAGRANT_CWD=%CURRENT_DIR%\git\k03_2

rem https://superuser.com/questions/489240/how-to-get-filename-only-without-path-in-windows-command-line
set FILENAME=%~n0
set VAGRANT_CONFIG=%CURRENT_DIR%\%FILENAME%.yml

echo "The VAGRANT_CWD is equal to %VAGRANT_CWD%"
14
echo "The VAGRANT_CONFIG is equal to %VAGRANT_CONFIG%"
15

16 17 18 19 20 21 22
title %PROJECT_NAME%
if exist clink64 goto do_clink
cmd /k "echo Cmd configured for %CURRENT_DIR% project"
goto end
:do_clink
cmd /k "echo Cmd configured for %CURRENT_DIR% project && clink inject "
:end