增加目录结构

This commit is contained in:
dragonflylee 2018-01-25 13:25:18 +08:00
parent 215cb371c8
commit 26e87ce01e
3 changed files with 4 additions and 2 deletions

View File

@ -68,6 +68,8 @@ Win10 1709|10.0.16299|[32位](http://download.windowsupdate.com/d/msdownload/upd
## 使用说明
下载 [WimHelper-master.zip](https://github.com/dragonflylee/WimHelper/archive/master.zip) 并解压
下载 [WimHelper-master.zip](https://github.com/dragonflylee/WimHelper/archive/master.zip) 并解压, 目录结构如下
![](https://github.com/dragonflylee/WimHelper/blob/master/dir.png)
运行 `WimHelper.cmd [wim镜像路径]` 即可享受全自动镜像处理

View File

@ -59,7 +59,7 @@ rem
call :GetImageInfo "%~1", "%~2"
title 正在处理 [%~2] 镜像 %ImageName% 版本 %ImageVersion% 语言 %ImageLanguage%
%Dism% /Mount-Wim /WimFile:"%~1" /Index:%~2 /MountDir:"%MNT%"
call :lopatkin "%MNT%"
call :MakeWimClean "%MNT%"
rem 处理Admin分卷
for /f "tokens=3" %%f in ('%Dism% /English /Get-ImageInfo /ImageFile:"%~1" ^| findstr /i Index') do ( set "Index=%%f" )
if "%Index%" leq "%ImageCount%" goto :eof

BIN
dir.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB