Windows 7 64 bit here - it just has the error message box, and the same text in the cmd window, it doesn't open the file though :)
"This version of foo.txt is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher."