How to configure .exe compatibility mode through the prompt?

0

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

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 through the command prompt (cmd), as I will create a bat file to run when running the application, so the user does not have to perform this activity manually.

Can anyone help me?

    
asked by anonymous 10.10.2018 / 14:39

1 answer

0

Adjust the environment with the

set __COMPAT_LAYER=WIN98

And run the program.

The options are as follows:

    
10.10.2018 / 15:04