还是借助其他语言或者工具实现吧!要么改变思路和方法作者: free68 时间: 2019-1-24 01:15
Set "psCommand="(new-object -COM 'Shell.Application')^
.BrowseForFolder(0,'请选择已经挂载的源映像系统装载文件夹路径!',0x0010,0x0011).self.path""
For /f "usebackq delims=" %%I in (`powershell %psCommand%`) do Set "InstallMount=%%I"