This is on Windows 7.
We've got a program we install that we've associated with extension .xyz. Our '.xyz' files are actually executable files (originally .exe)
If you double-click the renamed .xyz file, it will be opened using our application as expected.
From cmd.exe, if you just 'run' the .xyz file, "C:>myfile.xyz", Windows will just run the myfile.xyz as if it were an executable file (which it is). Is there any way we can modify our .xyz file to get around this or a registry flag that can be set to prevent this behavior just for .xyz files?