|
Re: Stumped by variable substitution Why? "\microsoft[1].txt" is a string literal.
Anyway, what you suggested produced an error as $microsoft is a null array.
"Shafik" wrote:
> try that:
> $env:UserProfile.ToString()+"\"+$Env:username.ToString()+"\" +
> $microsoft[1].txt |