Windows: guess path on D:, too

Many Windows PCs these days come with an SSD and an HDD. Having
VirtualBox on D: rather than on C: is increasingly common.

With this patch, the standard VBoxManage location on D: is also checked
before the full harddisk search is launched.

Change-Id: Ibca9be7cc94a71a904cbe82fd17a31bd002712c8
This commit is contained in:
Roger Luethi 2017-05-25 10:21:10 +02:00
parent 39d2384bd5
commit daa22d2570
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,12 @@ CALL "%~dp0\CONFIG.BAT"
IF EXIST "%VBM%" GOTO vbm_found
REM Before searching, try a likely alternative
SET VBM=d:\Program Files\Oracle\VirtualBox\VBoxManage.exe
IF EXIST "%VBM%" GOTO vbm_found
ECHO.
ECHO %time% Searching %SystemDrive% for VBoxManage, this may take a while
ECHO.

View File

@ -3,6 +3,12 @@ CALL "%~dp0\CONFIG.BAT"
IF EXIST "%VBM%" GOTO vbm_found
REM Before searching, try a likely alternative
SET VBM=d:\Program Files\Oracle\VirtualBox\VBoxManage.exe
IF EXIST "%VBM%" GOTO vbm_found
ECHO.
ECHO %time% Searching %SystemDrive% for VBoxManage, this may take a while
ECHO.