Skip to content

Commit

Permalink
force
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed May 1, 2024
1 parent 6fa85cd commit 5f7e147
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions msupdate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,17 @@ echo ============================================================
echo.
echo ============================================================
echo Start Edit Multi-SKU - %Edition ID%...
echo Start Edit Multi-SKU
echo.
echo Current Dir: %cd%
echo ============================================================
%_wimlib% info `"!target!\sources\install.wim`"
for /F `"tokens=3`" %%a in ('%_wimlib% info `"!target!\sources\install.wim`" ^| findstr /C:`"Image Count:`"') do set `"ImageCount=%%a`"
echo Image Count is: %ImageCount%
echo Image Count is: [%ImageCount%]
echo Image Count gth is: [!ImageCount!]
set ImageCount=9
echo Image Count force is: [%ImageCount%]
echo Image Count force gth is: [!ImageCount!]
for /L %%a in (1,1,%ImageCount%) do call :editwiminfo %%a
EXIT /B
Expand Down

0 comments on commit 5f7e147

Please sign in to comment.