vbox_kd_set_VM_connect_options.cmd 342 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
@echo off

SET MACHINE_NAME=%1
SET CONNECT_OPTIONS=%2

FOR /F "eol=; tokens=1,2 delims==" %%i in (%~dp0\vbox_kd.ini) do (
    if "%%i" equ "VBoxManageFile" (
        echo "%%j" setextradata %MACHINE_NAME% "KD/ConnectOptions" %CONNECT_OPTIONS%
        "%%j" setextradata %MACHINE_NAME% "KD/ConnectOptions" %CONNECT_OPTIONS%
    )
)