Compiling anything gives open NUL error

open NUL: The system cannot find the file specified.

I get this error when I try to compile, tried with version 12 and 11
Can't find any useful information about this. I have windows 10

Enable verbose upload and compiler output in preferences, try it again and post the output here

Here it is

Arduino: 1.6.12 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

D:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\Program Files (x86)\Arduino\hardware -tools D:\Program Files (x86)\Arduino\tools-builder -tools D:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries D:\Program Files (x86)\Arduino\libraries -libraries C:\Users*\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10612 -build-path C:\Users*\AppData\Local\Temp\arduino_build_247191 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users*\AppData\Local\Temp\untitled1034511125.tmp\sketch_oct30a\sketch_oct30a.ino
D:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware D:\Program Files (x86)\Arduino\hardware -tools D:\Program Files (x86)\Arduino\tools-builder -tools D:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries D:\Program Files (x86)\Arduino\libraries -libraries C:\Users*\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10612 -build-path C:\Users*\AppData\Local\Temp\arduino_build_247191 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users*\AppData\Local\Temp\untitled1034511125.tmp\sketch_oct30a\sketch_oct30a.ino
Using board 'pro' from platform in folder: D:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: D:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"D:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users*\AppData\Local\Temp\arduino_build_247191\sketch\sketch_oct30a.ino.cpp" -o "nul"
Generating function prototypes...
"D:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users*\AppData\Local\Temp\arduino_build_247191\sketch\sketch_oct30a.ino.cpp" -o "C:\Users*\AppData\Local\Temp\arduino_build_247191\preproc\ctags_target_for_gcc_minus_e.cpp"
open NUL: The system cannot find the file specified.
Error compiling for board Arduino Pro or Pro Mini.

Did you edit out your user name, or is it actually displaying an asterisk there?

I did :smiley: