
CODE: [Copy to clipboard]@echo off
for /f "delims=" %%i in (t.txt) do (
set "str=%%i"
echo %%i
setlocal enabledelayedexpansion
if "!str: =!"=="endif" set /a num+=1
if !num!==1 if /i "!str: =!"=="endif" echo x = GetSysConfigOption()
endlocal
)
pause
| Quote: | |
|
| Quote: | |
|
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |