dear experts
recently i enconter probelm with parse csv file
for /f "usebackq tokens=1* delims=," %%A in ("%FILE%") do (
echo %%A
echo %%B
echo %%C
)
this is my file sample
"1", "x,y,z"
"2", "abc"
the problem is the file has comma inside quote. how to solve.
thnk you
Csv file problem
Moderator: DosItHelp
Re: Csv file problem
What is the problem with your output, ignoring that you don't have a token for %%C
What do you expect to get?
What do you expect to get?