Page 1 of 1
Extended environment variables support
Posted: 25 Oct 2007 08:25
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
Re: Extended environment variables support
Posted: 25 Oct 2007 09:53
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
%programfiles%XYplorer\
Posted: 25 Oct 2007 10:46
by ugus
Oh, I see...

Posted: 25 Oct 2007 13:39
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!