RealTimeSync does not work with environment variables.

Get help for specific problems
Posts: 6
Joined: 3 Jan 2022

miciolampo89

The 3 attached images are worth more than a thousand words.
RealTimeSync-1.png
RealTimeSync-1.png (99.34 KiB) Viewed 509 times
RealTimeSync-2.png
RealTimeSync-2.png (98.04 KiB) Viewed 509 times
RealTimeSync-3.png
RealTimeSync-3.png (199.1 KiB) Viewed 509 times
Many thanks in advanced for a solution.
Best regards.
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

If that folder doesn't yet exist, RTS can't monitor it.
Posts: 6
Joined: 3 Jan 2022

miciolampo89

The folder exists. If I write the path instead of the env. vars, all works with no problem.
User avatar
Site Admin
Posts: 7210
Joined: 9 Dec 2007

Zenju

Remove the quotes.
Posts: 6
Joined: 3 Jan 2022

miciolampo89

Thanks for your suggestion, but nothing changes. The problem remains.
Posts: 292
Joined: 13 Apr 2017

Gianni1962

Hi miciolampo89,

your environment variables are not visible to RealTimeSync (RTS).

Here the steps required to get RTS to work.

1) Make sure that the environment variables are visible to RTS
2) Remove the quotes from the variables in the "Folders to watch" section, leave them in the "Command line" section

To accomplish step 1) I know two ways:

a) set them in a batch file that also takes care to start RTS
This way has a side effect, you will end-up with a black command prompt window open in the background.

b) set them using SETX (not SET) to set them permanently in your environment
You can use SETX or use the graphical interface you can access running this command (a shortcut):
rundll32.exe sysdm.cpl,EditEnvironmentVariables
Then yon can start RTS in the classic way.