- @echo off
- pushd "%~dp0"
- for /f "delims=:" %%a in ('findstr /n msmg设置 .\set.txt') do set n=%%a
- for /f "skip=%n% delims=" %%b in (.\set.txt) do (
- dir /b %%b\Mount\Install\Windows\servicing\Packages\*.mum >1_Get_Full_Packages.txt
- )
- pause
复制代码 没问题- @echo off
- pushd "%~dp0"
- for /f "delims=:" %%a in ('findstr /n msmg设置 .\set.txt') do set n=%%a
- for /f "skip=%n% delims=" %%b in (.\set.txt) do (
- dir /b %%b\Mount\Install\Windows\servicing\Packages\*.mum >1_Get_Full_Packages.txt
- )
- pause
- findstr /I /V "en-us zh-cn" 1_Get_Full_Packages.txt >2_Get_Main_Packages.txt
- pause
复制代码 有问题,提示 delims=" was unexpected at this time.
奇怪阿,后面的代码也没问题,就算有问题,怎么会导致前面的代码也失效了呢 |