View Single Post
Old 05-14-2007   #3 (permalink)
K Kong


 
 

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


My System SpecsSystem Spec