windows - Script to remove characters -
i have file thousands of records pipe delimited each field enclosed quotes
"first name"|"last name"|"address"|"city"|"state"|"zip"
how write batch script on windows process thousands records in file?
each line has 1 record on line make below
first name|last name|address|city|state|zip
@echo off setlocal enabledelayedexpansion del outfile.txt 2>nul /f "delims=" %%i in (pipedelims.txt) ( set line=%%i set line=!line:"=! >>outfile.txt echo(!line! )
should job you.
Comments
Post a Comment