1.

Solve : using double quotes as delimiter in a for loop?

Answer»

Hi,

how can I use the double QUOTE (") as a DELIMITER?
if I type it in the delims list it takes it as the end of the delimiter list

Code: [Select]set STRING=partone "part two"
for /f "tokens=1,2 delims="" %i in ("%string%") do echo (%i) (%~j)I WOULD like to have for result
Code: [Select](partone) (part two)
thanks
yp



Discussion

No Comment Found