Environment Variables not being expanded properly

Discuss new features and functions
Posts: 5
Joined: 20 Jul 2022

dozuki

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?
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

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

dozuki

Thanks, that appeared to do it.