Today on duty, really bored. CS was beaten by others, QQ has no one to chat with. Want to write a bat but can't figure it out. Fainted on the front line.
Hope brothers can give pointers.
Hope brothers can give pointers.
setlocal EnableDelayedExpansion
set m=0
for /f "tokens=*" %%m in ('findstr /v /C:"730 730" cover.ps') do (
if !m!
If using set and then echo, then the % in the text will be replaced.
If using call, and not enabling variable delay, when passing %%m of for to call, the same thing will be lost.
So I still enabled variable delay, and the result is that the! are all gone. Hope experts can give advice.
[ Last edited by willsort on 2006-6-20 at 11:37 ]