Have you tried Path to shell executable "c:\<myproject>\platformio.exe" does not exist - #2 by maxgerhardt ?