BogBeast

Windows environment variable for Sync folder location

Recommended Posts

New user here, finally migrating away from other solutions.

I like to store alot of portable apps and files in my sync folders. I also like to create shortcuts that point to them; usually in a folder located in the root of the sync folder.

The sync folder location varies, depending on the machine I have installed, so shortcuts don't usually work very well. To get round it I manually create an environment variable that allows the s/cuts work, eg %resilio%\programs\name.exe rather than a hardcode path.

Would it be possible to sync client to create this variable? I don't think it would be programmatically difficult and I think it would be very useful.

Thanks

Share this post


Link to post
Share on other sites
1 hour ago, Andy+ said:

Perhaps an experienced user can also install this manually in the settings.

I wrote powershell script to interrogate the location of the the dropbox and then set a variable.  Trouble is it required additional software installing and configuration to get it to work. I never got to try it with multiple user profiles.

It would seem a lot more efficient to have the client just set a user variable 

Share this post


Link to post
Share on other sites
2 hours ago, Alex. said:

@BogBeast "%APPDATA%\Roaming\Resilio Sync"

I hope this will help you.

Thanks for the reply Alex.

However, I was looking for Resilio to set an environment variable with a path to the sync folder.

Unless I am mis-understanding your reply

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.