Admin.ini Environment Variables not Resolving

Features wanted...
Post Reply
jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Admin.ini Environment Variables not Resolving

Post by jupe »

Previously I was using junctions and symbolic links until I discovered the Admin.ini settings to accomplish moving Data folder etc, so thanks yet again for this feature and a truly fantastic app.

I can't seem to get native or XY environment variables to work in the Admin.ini under both the [AccessControl] and [Paths] sections, it's no big deal for me to hard code the paths if its troublesome to fix but I just thought I'd make you aware, if indeed there is a problem because according to the help file it should work.

e.g. entries
  • HiddenItems=%USERREAL%\Saved Games
or
  • HiddenItems=%USERPROFILE%\Saved Games
I couldn't get to work, but listing the absolute path works.

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Admin.ini Environment Variables not Resolving

Post by highend »

I can't seem to get native or XY environment variables to work in the Admin.ini under both the [AccessControl] and [Paths] sections, it's no big deal for me to hard code the paths if its troublesome to fix but I just thought I'd make you aware, if indeed there is a problem because according to the help file it should work
I do NOT see environment and XYplorer native variables supported in the [Paths] part according to the help file
And regarding [AccessControl], support for these are only mentioned directly for the keys:
AllowedDirs
DisallowedDirs
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Admin.ini Environment Variables not Resolving

Post by jupe »

Ah I see, I should have known that me misunderstanding was the issue and not the software, sorry to have wasted your time, feel free to delete this pointless thread if possible.

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

Re: Admin.ini Environment Variables not Resolving

Post by admin »

I'll move this thread to Wishes. I might add support for Environment Variables later.

Post Reply