Link to home
Start Free TrialLog in
Avatar of ahoor
ahoorFlag for Netherlands

asked on

Assigning multiple variables

If I look at this site: http://www.ss64.com/nt/for.html

If I do:
FOR /F %%G IN ("This is a long sentence") DO @echo %%G %%H %%J

I expect to get: This is long

I do get: This %H %J

What can be wrong?
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ahoor

ASKER

Works perfect.