etcher: Command failed: C:\Users\\AppData\Local\Temp\XXXX.tmp.bat (code 1)
- Etcher version: Beta18
- **Operating system and architecture: Windows 10 **
when starting Etcher, i get the following, and Etcher doesn’t start
[Window Title] Error
[Main Instruction]
Command failed: C:\Users\timjs\AppData\Local\Temp\B39C.tmp.bat
[Content]
Error: Command failed: C:\Users\timjs\AppData\Local\Temp\B39C.tmp.bat
at ChildProcess.exithandler (child_process.js:218:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
[OK]
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 62 (34 by maintainers)
Commits related to this issue
- Reset ERRORLEVEL at the beginning of win32.bat Turns out ERRORLEVEL might carry errors from previous commands, given that not every command resets it when exitting successfully. This prevents us fro... — committed to balena-io-modules/drivelist by deleted user 7 years ago
- upgrade: drivelist to v5.0.25 This version contains various improvements on the drive detection system mainly on Windows. The improvements can be summarized as follows: - Drivelist no longer spawns ... — committed to balena-io/etcher by jviotti 7 years ago
- upgrade: drivelist to v5.0.25 This version contains various improvements on the drive detection system mainly on Windows. The improvements can be summarized as follows: - Drivelist no longer spawns ... — committed to balena-io/etcher by jviotti 7 years ago
- upgrade: drivelist to v5.0.25 This version contains various improvements on the drive detection system mainly on Windows. The improvements can be summarized as follows: - Drivelist no longer spawns ... — committed to balena-io/etcher by jviotti 7 years ago
- upgrade: drivelist to v5.0.25 This version contains various improvements on the drive detection system mainly on Windows. The improvements can be summarized as follows: - Drivelist no longer spawns ... — committed to balena-io/etcher by jviotti 7 years ago
- upgrade: drivelist to v5.0.25 This version contains various improvements on the drive detection system mainly on Windows. The improvements can be summarized as follows: - Drivelist no longer spawns ... — committed to balena-io/etcher by jviotti 7 years ago
- upgrade: drivelist to v5.0.25 (#1574) This version contains various improvements on the drive detection system mainly on Windows. The improvements can be summarized as follows: - Drivelist no lon... — committed to balena-io/etcher by jviotti 7 years ago
I only use Windows defender, no other anti virus installed, if that is any help
Tim
Thanks for the info @timjstone. I managed to setup my Windows 10 x64 machine into the fast insider level, but I still can’t reproduce the issue 😦
The way that error level works is absurd. Almost no command resets the error level, but some internal ones do. Even worse, if you do
set ERRORLEVEL 0, then that creates a new environment variable that shadows the real one, causing an even bigger mess.