I use PDF24 version 9.2.2 with Windows 7. I try to use my environment variable in Output Directory (PDF24 Launcher > Settings > PDF Printer tab > Auto Save section). Output Directory is %MyDir% and MyDir is D:\Temp since I have login to Windows. Before I print to PDF24 printer, I set a new value, C:\Temp, to MyDir thru Environment Variables windows (by run Env command). But output file still uses D:\Temp. It seems PDF24 does not read the current environment value before every printing. I have to logout and login again for C:\Temp to take effect. Is this by design or Do I do something wrong ?
Environment variables are only passed to a process when it is started. A change in the environment variables is not passed to the running PDF24 process. For this, a process needs to be stopped. I would recommend to work the the print job name if you can because PDF24 reads this name and provides it via a variable.
I noticed the same behaviour under Windows 10 whe using a environment variable i the filename.
It would be greate if the variable would be updated before each printjob.