PlatformIO IDE messes up PATH with incorrect default folders (Windows 10)

Have you restarted your computer after creating the PLATFORMIO_CORE_DIR variable? When you restart VSCode after, does the PlatformIO extension load, and are you able to access a CLI and run pio system info to verify the installation path?

I’ve successfully done changing the PlatformIO core path with that technique, see Specify Path to PlatformIO in Visual Studio Code - #11 by maxgerhardt.