Allow Userprofile Variable in Startup location

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

HEJUBA
Posts: 6
Joined: Wed Aug 17, 2022 2:26 pm

Allow Userprofile Variable in Startup location

Post by HEJUBA »

We would like to add the user profile folder as startup view:
Image

However, it appears that the system variable %userprofile% isn't handled properly by XnViewMP.
We would like to use it with this parameter, to use the ini file for deployment reasons and for the use on an terminal servr.
HEJUBA
Posts: 6
Joined: Wed Aug 17, 2022 2:26 pm

Re: Allow Userprofile Variable in Startup location

Post by HEJUBA »

Hi,

Any recommendations on this? We use xnviewmp on a terminal server and each user should get their own user folder.

For that we need the default windows system variables
Is that possible or already on on the wish/bug list?

Thanks a lot for your feedback
User avatar
helmut
Moderator
Posts: 8702
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Allow Userprofile Variable in Startup location

Post by helmut »

Thank you for your request, HEJUBA, and sorry for not replying earlier. Perhaps Pierre, the author of XnView, could add support for system variables whenever specifying directories but I guess this won't happen within few days.

Could you perhaps distribute XnView MP with a personalized xnview.ini file included? The xnview.ini file would consist of following settings, only:

Code: Select all

[Start]
startupType=2
customPath=<Content of variable %USERPROFILE%>
HEJUBA
Posts: 6
Joined: Wed Aug 17, 2022 2:26 pm

Re: Allow Userprofile Variable in Startup location

Post by HEJUBA »

Hi helmut,

Thanks for your feedback.

We`ve tried already with a custom ini file. Unfortunately without success.
I`ve tried it again with your recommendation. Nothing happend.

I think the app is not able to resolve the variable as you can see in the screen.
You do not have the required permissions to view the files attached to this post.
cday
XnThusiast
Posts: 3894
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Allow Userprofile Variable in Startup location

Post by cday »

@Pierre: Could support for a selected environmental variable be easily added, or could it be difficult or for practical purposes impossible :?: