How to configure compatibility mode.exe by prompt?
I am creating an application in electron, but notifications only work if the application is running in Windows 7 compatibility mode.
I currently prompt the user to right-click on .exe, go to Properties / Compatibility / compatibility mode and change to windows 7
I need to know how to perform the Compatibility Mode configuration of the executable through the command prompt (cmd), as I will create a file bat to run when running the application, so that the user does not have to perform this activity manually.
Can anyone help me?
0
1 answers
Adjust the environment with the command
set __COMPAT_LAYER=WIN98
And run the program.
The options are as follows:
3
Author: Reginaldo Rigo, 2018-10-10 13:04:48