From 86efe08842bc98bd1f194ae62d486366d5e3e2b1 Mon Sep 17 00:00:00 2001 From: abbodi1406 <33669284+abbodi1406@users.noreply.github.com> Date: Wed, 20 Nov 2019 03:20:42 +0300 Subject: [PATCH] v0.0.18-alpha Update: create $ option --- KMS_VL_ALL_AIO.cmd | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/KMS_VL_ALL_AIO.cmd b/KMS_VL_ALL_AIO.cmd index 54c6ac3..aeb77d3 100644 --- a/KMS_VL_ALL_AIO.cmd +++ b/KMS_VL_ALL_AIO.cmd @@ -1091,11 +1091,22 @@ goto :eof :CreateOEM cls +set "_oem=!_work!" +copy /y nul "!_work!\#.rw" 1>nul 2>nul && (if exist "!_work!\#.rw" del /f /q "!_work!\#.rw") || (set "_oem=!_dsk!") +if exist "!_oem!\$OEM$\$$\Setup\Scripts\setupcomplete.cmd" ( +echo. +echo setupcomplete.cmd already exist in $OEM$ Folder... +echo "!_oem!\$OEM$" +echo. +echo manually remove it if you wish to create a fresh copy. +echo. +echo Press any key to continue... +pause >nul +goto :eof +) echo. echo $OEM$ Folder Created... echo. -set "_oem=!_work!" -copy /y nul "!_work!\#.rw" 1>nul 2>nul && (if exist "!_work!\#.rw" del /f /q "!_work!\#.rw") || (set "_oem=!_dsk!") echo "!_oem!\$OEM$" if not exist "!_oem!\$OEM$\$$\Setup\Scripts\KMS_VL_ALL_AIO.cmd" mkdir ""!_oem!\$OEM$\$$\Setup\Scripts" copy /y "%~f0" "!_oem!\$OEM$\$$\Setup\Scripts\KMS_VL_ALL_AIO.cmd" %_Nul3% @@ -1112,6 +1123,7 @@ goto :eof :casVm cls +mode con cols=100 lines=35 %_Nul3% powershell -noprofile -exec bypass -c "&{$H=get-host;$W=$H.ui.rawui;$B=$W.buffersize;$B.height=300;$W.buffersize=$B;}" setlocal EnableDelayedExpansion echo %line2% @@ -1239,6 +1251,7 @@ goto :eof :casWm cls +mode con cols=100 lines=35 %_Nul3% powershell -noprofile -exec bypass -c "&{$H=get-host;$W=$H.ui.rawui;$B=$W.buffersize;$B.height=300;$W.buffersize=$B;}" setlocal set wspp=SoftwareLicensingProduct