复制代码
- ::文件夹打包WIM.btm
- @echo off&cls
- if not %_ELEVATED% == 1 (
- rem 管理员模式运行自身。
- start "" /ELEVATED "%~0"
- exit /b
- )
- set fp=%@getdir[""]
- call :f "%fp%"
- exit
- :f
- Dism /Capture-Image /ImageFile:"%~1.wim" /CaptureDir:"%~1" /Name:"%~n1" /Compress:none
- pause
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |