Page 1 of 1
					
				Allow Userprofile Variable in Startup location
				Posted: Fri Aug 19, 2022 1:59 pm
				by HEJUBA
				We would like to add the user profile folder as startup view:
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.
 
			 
			
					
				Re: Allow Userprofile Variable in Startup location
				Posted: Fri Sep 16, 2022 10:31 am
				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
			 
			
					
				Re: Allow Userprofile Variable in Startup location
				Posted: Mon Sep 19, 2022 8:21 pm
				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%>
 
			 
			
					
				Re: Allow Userprofile Variable in Startup location
				Posted: Tue Sep 27, 2022 8:59 am
				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.
			 
			
					
				Re: Allow Userprofile Variable in Startup location
				Posted: Tue Sep 27, 2022 10:09 am
				by cday
				@
Pierre: Could support for a selected environmental variable be easily added, or could it be difficult or for practical purposes impossible  
