I've recently been struggling with a change in behavior when using environment variables. As an example, I have a variable set in the system environment in Windows10:
WOW_BASE="G:\Program Files (x86)\World of Warcraft"
This used to expand properly, however, recently it's expanding to:
C:\Program Files\FreeFileSync\"G:\Program Files (x86)\World of Warcraft"
I can't figure out how to correct this. I've tried numerous variations, but it's no longer working. Any suggestions?
Environment Variables not being expanded properly
- Posts: 5
- Joined: 20 Jul 2022
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
FreeFileSync used to strip off double-quotes, but doesn't do so anymore in recent releases. This matches the behavior of the operating systems which also don't use quotes in environment variables that represent folder paths.
- Posts: 5
- Joined: 20 Jul 2022
Thanks, that appeared to do it.