--- Sean wrote:

> One more weird thing:
> Even if unchecking "Replace %environment var% throughout ...", the
> following works:

> Cmd: %ProgramFiles%\Internet Explorer\iexplore.exe

I don't believe that the %EnvVar% is actually replaced there.
%EnvVars% are an acceptable part of a filespec in its pre-evaluated
form�� you can use them on the command prompt, etc.

My understanding is that when this checkbox is ticked, %EnvVars% are
replaced in expressions... or literal strings?...��

Local PathToFile = "%ProgramFiles%\\Folder\\File.ext"

One major caveat here is that the %EnvVar% is NOT escaped beforehand,
so the line would be equivalent to this:

Local PathToFile = "C:\Program Files\\Folder\\File.ext"
Win.Debug(PathToFile) ;; -> C:Program Files\Folder\File.ext

Note the unescaped backslash near the beginning of the string.
Personally though, I see this as desirable behaviour.

-- 

Alex Peters / Melbourne, Australia
PowerPro v4.1.00 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to