Page 1 of 1
Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 16:10
by zBernie
Is it possible to use XYplorer and the same configuration file on two different computers for which there are different user names? For example my PC's home directory is C:\Users\bernie and my laptop is C:\Users\zbern. Maybe with a symlink? Or maybe XYplorer would utilize an environment variable?
-Thanks
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 18:23
by highend
Where exactly is the current problem?
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 18:28
by zBernie
zBernie wrote: ↑21 May 2023 16:10
Is it possible to use XYplorer and the same configuration file on two different computers for which there are different user names? For example my PC's home directory is C:\Users\bernie and my laptop is C:\Users\zbern. Maybe with a symlink? Or maybe XYplorer would utilize an environment variable?
-Thanks
Actually what I did was save a configuration file from my PC then changed all 431 references from bernie to zbern and saved it as my laptop config file. Then loaded it into XYplorer on the laptop.
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 18:30
by zBernie
highend wrote: ↑21 May 2023 18:23
Where exactly is the current problem?
See my answer below as to how I handled the configurations between the two computers with two users having different home directories.
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 18:45
by highend
Hardcoded references? Can you be a bit more specific what references you did change? XYplorer supports %USERNAME%...
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 18:51
by zBernie
highend wrote: ↑21 May 2023 18:45
Hardcoded references? Can you be a bit more specific what references you did change? XYplorer supports
%USERNAME%...
For example the .ini file contains the following hard coded path:
StartPath=C:\Users\zbern\OneDrive\Documents\
Are you saying that I could replace zbern with %USERNAME% like:
StartPath=C:\Users\%USERNAME%\OneDrive\Documents\
That would be fantastic!
-Thanks
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 18:53
by highend
Ofc you can do that
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 18:59
by zBernie
highend wrote: ↑21 May 2023 18:53
Ofc you can do that
Nice!
Is there a way to implement the %USERNAME% variable from XYplorer, or should I just change the references in the .ini file?
Re: Using XYplorer with 2 different user home directories?
Posted: 21 May 2023 19:00
by highend
It doesn't matter if you do it via the gui or an .ini file change