Compiling for ESP32 fails: "Access is denied." #2147
Labels
conclusion: off topic
Off topic for this repository
type: imperfection
Perceived defect in any part of project
Describe the problem
Compilation fails with "Access is denied" when Windows path contains a space in the user name (e.g., between firstname and lastname)
cmd /c type nul > "C:\Users\firstname" "lastname\AppData\Local\Temp\arduino\sketches\BCC6D161902E6D97CFF1F1190C34FFBA/file_opts"
See forum discussion https://forum.arduino.cc/t/compiling-for-esp32-fails-access-is-denied
To reproduce
Compile a sketch located in Windows user folder where the username contains a space.
Expected behavior
Compilation should succeed.
Arduino IDE version
2.1.1
Operating system
Windows
Operating system version
11
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: