🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Executable file not found in %PATH%

    General
    1
    2
    4.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rcoppens
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • R
        rcoppens
        last edited by

        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

        1 Reply Last reply Reply Quote 1
        • First post
          Last post