How to read column1 and fetch column2 &2 in csv

November 18, 2015 at 19:38:20
Specs: Windows 7
.How to read column1 and fetch column2 &3.. in csv

this my code
for /f "usebackq tokens=1 delims=," %%a in ("locationcopy1.csv") do (
echo %%a %%b %%c %%d )

Ex:ColA -RewardsAPI
ColB -http://EMS/components/rewardsAPI
ColC - Username
ColD -Pwd

message edited by RRReddy


See More: How to read column1 and fetch column2 &2 in csv

Report •


#1
November 19, 2015 at 20:44:05
Your description is not quite adequate, IMO. Are you looking for a specific value in column 1? Is this what you mean by:"How to READ column1 and fetch column2 &3? Also some sample content and desired result is ALWAYS helpful and appreciated in any forum.

Report •
Related Solutions


Ask Question