|
RE: tab and variable not really answer to my question, my question is why
$pshome\..\
does not expand to
c:\windows\system32\windowspowershell\
"Andrew Webb" wrote:
> > I think by saying '<tab> works off the contents of your current location' is
> > correct, but the fact is the PS' tab-completion is worth more than that, I
> > believe you can enter:
> > hkcu:<tab>
> > without being in hkcu drive.
>
> You're right! Even more impressive than I thought.
>
> Try this:
> $e<tab><tab><tab>
>
> It will iterate through the current list of variables, listing those that
> begin with 'e'. This is what it will do with variables, rather than examine
> their contents - which I think answers your original question.
>
> |