Arduino: 1.8.13 (Windows 10), Board: "AI Thinker ESP32-CAM, 240MHz (WiFi/BT), QIO, Huge APP (3MB No OTA/1MB SPIFFS), 80MHz, None, Disabled"
exec: "cmd": executable file not found in %PATH%
Error compiling for board AI Thinker ESP32-CAM.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
"cmd" is the windows Command Prompt used to execute programs
what happens if you type cmd in the Win10 Search box in the taskbar?
enable verbose output as recommended in the error message and try compiling again