How to set . exe compatibility mode by prompt?

Asked

Viewed 1,181 times

0

I’m creating an application in Lectron, but notifications only work if the application is running in windows 7 compatibility mode.

I currently ask the user to right-click the . exe, go to properties/compatibility/compatibility mode and change to windows 7

I need to know how to perform the executable compatibility mode configuration via command prompt (cmd), because I will create a bat file to run when running the application, so that the user does not have to perform this activity manually.

Can someone help me?

1 answer

3


Adjust the environment with the command

set __COMPAT_LAYER=WIN98

And run the show.

The options are as follows::

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.