Using XYplorer with 2 different user home directories?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
zBernie
Posts: 181
Joined: 08 Dec 2016 17:20

Using XYplorer with 2 different user home directories?

Post 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

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

Re: Using XYplorer with 2 different user home directories?

Post by highend »

Where exactly is the current problem?
One of my scripts helped you out? Please donate via Paypal

zBernie
Posts: 181
Joined: 08 Dec 2016 17:20

Re: Using XYplorer with 2 different user home directories?

Post 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.

zBernie
Posts: 181
Joined: 08 Dec 2016 17:20

Re: Using XYplorer with 2 different user home directories?

Post 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.

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

Re: Using XYplorer with 2 different user home directories?

Post by highend »

Hardcoded references? Can you be a bit more specific what references you did change? XYplorer supports %USERNAME%...
One of my scripts helped you out? Please donate via Paypal

zBernie
Posts: 181
Joined: 08 Dec 2016 17:20

Re: Using XYplorer with 2 different user home directories?

Post 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

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

Re: Using XYplorer with 2 different user home directories?

Post by highend »

Ofc you can do that
One of my scripts helped you out? Please donate via Paypal

zBernie
Posts: 181
Joined: 08 Dec 2016 17:20

Re: Using XYplorer with 2 different user home directories?

Post 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?

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

Re: Using XYplorer with 2 different user home directories?

Post by highend »

It doesn't matter if you do it via the gui or an .ini file change
One of my scripts helped you out? Please donate via Paypal

Post Reply