System variable

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

System variable

Post by binocular222 »

Windows has a lot of environment variables, but XY only natively support a few.
Which is the quickest way to get the remaining? i.e:
%user% (i.e: C:\Users\binocular222)
%username% (i.e: binocular222)
%AppData%
%Temp%
%TempInternet%

i.e: I have this line in Favourite Folders but %User% is not resolved:
"&User %User%|<xyicons>\User Folder.ico" ::#594
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: System variable

Post by admin »

:? They are both supported. See Help | Environment Variables.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: System variable

Post by TheQwerty »

The variables are all supported but they are not resolved everywhere.

Catalog, Favorites, and UDC Captions for instance do not get resolved.

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

Re: System variable

Post by admin »

Yes, the captions are not resolved (but all functions work). This is by design.

Post Reply