@Alex. I think the correct location is "%APPDATA%\Resilio Sync" %APPDATA% includes the "Roaming" directory in my instances.
What I am looking for is not a path to the APPDATA location, but an environmental variable I can reference to find configuration files after the sync occurs.
==========================================
UseCase: As a user I want to run a script that can quickly find a folder that is being synced.
(1)Sync to computer of interest
(2)Execute a generic script that can quickly find a Synced file for processing.
--- How it works with Microsoft Once Drive---
(1)Loginto OneDrive
(2)Script references %OneDrive%\..\SyncFolder\mySyncedBinary.exe" OR
%OneDriveCommercial%\..\SyncFolder\mySyncedBinary.exe"
Note: could also use %USERPROFILE%\<OneDrive Directory>\
--- How it works with Resilio Sync ----
(1) Sync Folder
(2a) Script must be updated to point to the exact location of mySyncedBinary.exe as the synced folder maybe in a different location and this Script is unique to the computer it is being run and and thus can not be commonly synced across Sync'ed folders.
HomePC Location: d:\someLocationA\SyncFolderA\mySyncedBinary.exe
Laptop Location: c:\someLocationB\SyncFolderB\mySyncedBinary.exe
ServerPC: f:\someLocationC\SyncFolderA\mySyncedBinary.exe
g:\someLocationD\SyncFolderB\mySyncedBinary.exe
(2b) Need to create an environmental variable for "each" shared folder used.
Example:
HomePC: set SyncFolderA='d:\someLocationA\SyncFolderA\'
Laptop: set SyncFolderB='d:\someLocationB\SyncFolderB\'
ServerPC: set SyncFolderA='f:\someLocationC\SyncFolderA\'
ServerPC: set SyncFolderB='g:\someLocationD\SyncFolderB\'
-----
It would be EXTREMELY helpful if an environmental variable for each Sync'ed folder was automatically created with a consistent name.
----
Note: This would be helpful if it also did this for linux environments.
@BogBeast, Is this similar to what you were requesting as well?