Extended environment variables support

Features wanted...
Post Reply
ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Extended environment variables support

Post by ugus »

If I add a catalog item with the environment varaible %programfiles% it works perfect in XY.

But if I add a folder after the variable like
%programfiles%\XYplorer\ it doesn't work

This seems to be an issue in the address bar as well.

WE to resolves this.

/Ulrik

admin
Site Admin
Posts: 66256
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Extended environment variables support

Post by admin »

Oh, interesting. I slash the environment paths so your string
%programfiles%\XYplorer\
was resolved to
C:\Program Files\\XYplorer\

The double slash was the problem then.

Now I think slashing was no good idea, so I changed this. In the meantime you can take your slash away :wink:
%programfiles%XYplorer\

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

Oh, I see... :wink:

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post by ugus »

Code: Select all

Before, I slashed (put a backslash to the end) environment paths. So, e.g. %programfiles%\XYplorer\ was resolved to C:\Program Files\\XYplorer\The double slash, of course, creates a problem. Now, I changed this (no more slashing). So %programfiles%\XYplorer\ now will work in the address bar as expected
Thanks!

Post Reply