2010-09-07

Processing each line of a file by batch

An example of processing each line of a given file
@echo off
for /f "delims=] tokens=1*" %%a in ('find /v /n "" ^<.\newsources.txt') do (
   echo %%b
)

No comments:

Post a Comment