Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

"Not able to get handle on volume" error + errorlevel checking not working #3

@HarikalarKutusu

Description

@HarikalarKutusu

I run this snipplet in an elevated batch file:

CD Tools\CommandLineDiskImager
CommandLineDiskImager.exe %SETUPDRV%%SETUPDIR%img\raspbian-jessie-lite.img %SDCARDDRV%
rem Above structure yields to the following as expected, all files/drives in place
rem CommandLineDiskImager.exe E:\setup\img\raspbian-jessie-lite.img S:
IF ERRORLEVEL 0 GOTO IMAGEOK
GOTO FAIL
CD ....
:IMAGEOK
...
:FAIL

The output is :

writing file E:\setup\img\raspbian-jessie-lite.img to device S:
error - not able to get handle on volume
error - invalid handle value for volume

Same operation works with Win32DiskImager GUI. I also can format the SDCard with Win10 and SDFormatter 4. So I assume the SDCard is functioning. Also tested with two more SDCards (Sandisk Ultra 16GB), same result.

Furthermore the errorlevel check does not work - in this case at least.

I hope I'm not making a stupid mistake...

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions