|  | 
 
| 本人批处理菜鸟,经常使用dism,编了个小小的批处理,但是不知道如何实现批处理结束后自动弹出挂载的映像所在文件夹。手动导%userprofile%\temp去找映像文件太麻烦了!特来求助大师或同学们帮忙,非常感谢! 
 @echo off
 setlocal EnableExtensions
 setlocal EnableDelayedExpansion
 color a
 cls
 pushd %~dp0
 if exist "%temp%\boot" goto:mount
 if not exist "%temp%\boot" md "%temp%\boot"
 :mount
 dism /mount-image /imagefile:boot.wim /index:1 /mountdir:"%temp%\boot"
 后面怎么接下去能自动弹出映像所在文件夹,不会了!
 
 | 
 |