for /f %f in ("abc") do echo %f %g %h

is there any way to get f=a g=b h=c ?

link|improve this question

69% accept rate
feedback

1 Answer

up vote 0 down vote accepted

In Windows cmd.exe – no.

Consider a more capable programming language, such as PowerShell, Perl, or Python.

(FWIW, most Windows systems come with C# and VB.NET compilers hidden deep inside %SystemRoot%\Microsoft.NET, if you want something that wouldn't need to be installed manually.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.