- for /f "delims=:" %%a in ('findstr /n msmg设置 ..\set.txt') do set n=%%a
- (for /l %%a in (0,1,%n%) do (set /p line=))<..\set.txt
- set MT=%line%\Mount\Install
- set dism=%line%\Bin\x64\DISM10\dism.exe
- for /f "delims=:" %%a in ('findstr /n win版本 ..\set.txt') do set n=%%a
- (for /l %%a in (0,1,%n%) do (set /p line=))<..\set.txt
- set win=%line%
- echo %MT%
- echo %win%
- pause
复制代码
|