- @echo off&setlocal enabledelayedexpansion
- (for /f "tokens=1* delims=:" %%a in ('findstr /n .* HIVESYS.INF') do if "%%b"=="" (echo/) else (
- set/a a+=1
- if !a!==1 echo %%b
- if !a!==5 for /f "tokens=1-3* delims=," %%c in ("%%b") do echo %%c,%%d,"2",%%f
- ))>temp.h
- del /q HIVESYS.INF
- ren temp.h HIVESYS.INF
复制代码
|