在 for 循环中,我检查了条件,如果条件为真,我设置了计数值并跳过了文件中的一些行,
@echo off
SetLocal EnableDelayedExpansion
set /a count=0
set for_parameters="skip=!count! delims="
for /f %for_parameters% %%a in ('list.txt') do (
echo %%a
if %%a==Exception: (
set /a count+=2
)
)
Endlocal
Its shows delims=" was unexpected at this time. Error
谁能帮我解决这个问题.....