Created
September 26, 2015 10:08
-
-
Save kaskavalci/212bbd7abcf68a961856 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET TEMPFILE="%TEMP%\%RANDOM%.TXT" | |
echo SELECT VDISK FILE="C:\full\path\to\license.vhd">%TEMPFILE% | |
echo ATTACH VDISK>>%TEMPFILE% | |
DISKPART /s %TEMPFILE% | |
del %TEMPFILE% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment