How to handle different home directories in Favorite Folders?

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

How to handle different home directories in Favorite Folders?

Post by zBernie »

I just got a Surface Pro 7 which has Windows 10 Home. I found I cannot change my home directory from C:\Users\zbern to C:\Users\bernie as I have it configured on two other computers running Windows 10 Pro. So I added the %homedir" variable to the entries in my favorites. This works, but the problem is when I select from the menu File -> Move/Copy/Backup To -> Copy To -> Favorite Folders, the favorites with the %homedir% are not displayed.

Is there a better way to handle different home directories?

Screenshot 2022-03-08 200042.jpg
Screenshot 2022-03-08 200042.jpg (35.78 KiB) Viewed 2154 times

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

Re: How to handle different home directories in Favorite Folders?

Post by admin »

%homedir%? That's not a valid variable AFAIK.

WirlyWirly
Posts: 195
Joined: 21 Oct 2020 23:33
Location: Through the Looking-Glass

Re: How to handle different home directories in Favorite Folders?

Post by WirlyWirly »

I use %userprofile%, which returns the path of the currently active user. The XY help file also lists some handy internal variables like <xypath> and <xydrive>.

Code: Select all

%userprofile%\Downloads 
%userprofile%\Desktop 

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

Re: How to handle different home directories in Favorite Folders?

Post by admin »

To see the supported Environment Variables: Help | Environment Variables

Post Reply