batch file skip record
Below is a batch file to redirect the first field of all files to a new
file. I am looking for a method to also skip the first record.
@echo off
for %%x in (*.csv) do (
type nul>"%%~nx.new"
for /F "usebackqdelims=," %%A in ("%%~x") do (echo(%%A)>> "%%~nx.new"
)
No comments:
Post a Comment