I am running Windows 7 x64 Ultimate, IDE V1.6.6 and IDE V1.6.7 both have the same problem.
I am trying to compile a sketch for the Mega. It compiles fine first time, but if I try to compile immediately straight after I get this error.
GetFileAttributesEx F:\Arduino\libraries\UTFT\UTFT.cpp F:\Arduino\libraries\UTFT\UTFT.h: The filename, directory name, or volume label syntax is incorrect.
Error compiling.
The only way I can get it to compile again is select Arduino Due as the target board, compile, then select Mega as target board it will compile, ONCE.
It turns out the symptom is the same if I try to compile the same sketch twice with the target board as Due. The only way to compile again is change target board.
The same sketch compiles fine as many times as I want on IDE V1.6.5r2.
I would turn on verbose logging to see if any warnings show up or anything is strange in the compiler call. It looks like maybe two names are being passed as if they were one name.