What dictates the possible compatibility options for a Windows shortcut?

1

If you've ever dug into the properties sheet of a shortcut, you've might have come across this page:

Compatibility page in properties dilalog of a shortcut

I highlighted a specific dropdown box in red. This is what it looks like, if I expand the dropdown list:

Possible operating system compatibility levels

If I do the same for a different shortcut, I get different options:

enter image description here

How is it decided which options I have available in that list for a given shortcut?

Der Hochstapler

Posted 2012-03-06T11:51:17.867

Reputation: 77 228

Answers

7

Windows application compatability is one of the most complicated aspects of Microsoft Windows, but in short, the answer is that the executable is linked against a marker telling Windows what version of Windows it was built for.

A consequence of this is that Windows will never ask you if you want to emulate a version of Windows prior to the version of Windows that the executable was built for. If an executable requires Vista to run, running it in XP mode probably wouldn't help anyone.

Consequently what you're looking at is two different executables. The first is either linked for Windows95, or more likely Windows couldn't determine what it was linked for and is giving you all of the options, whereas the second one is linked for Vista, and so compatability options for Windows 9X and XP are not available.

SecurityMatt

Posted 2012-03-06T11:51:17.867

Reputation: 2 857

That makes a lot of sense. Yes, those are two different executables. – Der Hochstapler – 2012-03-06T12:05:07.383

> A consequence of this is that Windows will never ask you if you want to emulate a version of Windows prior to the version of Windows that the executable was built for. If an executable requires Vista to run, running it in XP mode probably wouldn't help anyone.   Exactly. Try running a Vista+ exe in XP; you get an error. – Synetech – 2012-07-01T19:40:25.013