B
Bertoldino
hi all
and sorry for my wobbly english...
i have one problem and two ways i'd like to solve it... but I'm not able to
do what i thought, lol
in a .cmd file i need to change/set the volume to the one in wich i set the
"documents and settings" directory.
notice that i used unattended.sif to set it in different volumes , not "C"
....
i know i can retrieve %userprofile% variable
but if e.g. I have "r:\docs_and_sets\james"
and i need to retrieve the "r:\docs_and_sets" value (wothout the %username%)
, what variable i have to look for?
or
how can i know that the right volume is "R:" ?
i don't know how to do the string operations or how to retrieve the
variables with the correct value
OSes: win2000, XP, (Vista)
thanx!
and sorry for my wobbly english...
i have one problem and two ways i'd like to solve it... but I'm not able to
do what i thought, lol
in a .cmd file i need to change/set the volume to the one in wich i set the
"documents and settings" directory.
notice that i used unattended.sif to set it in different volumes , not "C"
....
i know i can retrieve %userprofile% variable
but if e.g. I have "r:\docs_and_sets\james"
and i need to retrieve the "r:\docs_and_sets" value (wothout the %username%)
, what variable i have to look for?
or
how can i know that the right volume is "R:" ?
i don't know how to do the string operations or how to retrieve the
variables with the correct value
OSes: win2000, XP, (Vista)
thanx!