The 3 attached images are worth more than a thousand words.
Many thanks in advanced for a solution.
Best regards.
RealTimeSync does not work with environment variables.
- Posts: 6
- Joined: 3 Jan 2022
- Posts: 4056
- Joined: 11 Jun 2019
If that folder doesn't yet exist, RTS can't monitor it.
- Posts: 6
- Joined: 3 Jan 2022
The folder exists. If I write the path instead of the env. vars, all works with no problem.
- Site Admin
- Posts: 7210
- Joined: 9 Dec 2007
Remove the quotes.
- Posts: 6
- Joined: 3 Jan 2022
Thanks for your suggestion, but nothing changes. The problem remains.
- Posts: 292
- Joined: 13 Apr 2017
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.
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.