Executable file not found in %PATH%



  • Hi there,

    I receive this message:
    exec: "cmd": executable file not found in %PATH%
    Error compiling for board M5Stack-Core-ESP32.

    when I compile any kind of code!

    Can you help me please?

    Thanks in advance.

    Regards,
    Remy



  • I founded the solution, so I put this here:
    Please open “Settings/System/System Information”, then click Advanced System Settings
    Then press environment variables
    Select the Path element in User Variable or System Variable, then click Edit
    Fill in C:\Windows\System32 and press OK all the way. Then turn off the Arduino and turn it back on to compile normally.

    0_1665307805208_34iFPn0.png