Created
March 29, 2017 02:25
-
-
Save mechawrench/ff16c4ad41709580633828f175653913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Windows CMD Prompt (As Administrator) | |
#http://superuser.com/questions/379375/how-can-i-set-the-compatibility-mode-for-an-executable-from-the-command-line | |
#Command to Run | |
for %x in ("*.exe") do reg.exe Add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~fx" /d "WINXPSP2" -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment