T
TJT
This is a follow-up to a previous post regarding passing variables that
could contain embedded spaces. Normally this wouldn't be a problem because
I could just enclose a value containing a space within double-quotes.
Because of some problems I am having with the START command - I am having
problems passing in parameters with Double-quotes around it
Let's say we have the following...
SET TestVar=Val1, Val 2 with spaces, Val3
I would like to be able to parse the %TestVar% value into 3 variables using
the comma as a Delimiter. The name of the variables isn't important but
let's say I want them called P1, P2 and P3. I would basically want to parse
it as follows:
P1=Val1
P2=Val 2 with spaces
P3=Val3
I would think that something like this is doable with the For command but I
can not figure it out.
Thanks in advance,
--Tom
I have a variable %
could contain embedded spaces. Normally this wouldn't be a problem because
I could just enclose a value containing a space within double-quotes.
Because of some problems I am having with the START command - I am having
problems passing in parameters with Double-quotes around it
Let's say we have the following...
SET TestVar=Val1, Val 2 with spaces, Val3
I would like to be able to parse the %TestVar% value into 3 variables using
the comma as a Delimiter. The name of the variables isn't important but
let's say I want them called P1, P2 and P3. I would basically want to parse
it as follows:
P1=Val1
P2=Val 2 with spaces
P3=Val3
I would think that something like this is doable with the For command but I
can not figure it out.
Thanks in advance,
--Tom
I have a variable %