Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way I can set the compatibility mode of an .exe file through the command line on execution of said file?

share|improve this question

migrated from May 22 '10 at 15:02

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

You can use the Application Compatibility Toolkit (ACT) to do this,

First you pick the compatibility settings for the application and it will save to an SDB file.

Then to install the SDB you use the following command.

sdbinst -q <path to sdb file>

Then whenever you run the EXE you want after that point Windows will apply the compatibility settings.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .