inherit
60633
0
Nov 20, 2024 21:51:37 GMT -8
Joilet
Lightning does strike the same place twice or more be careful
2,809
October 2005
joilet
|
Post by Joilet on Nov 18, 2024 10:28:02 GMT -8
I know about right click compatibility mode change.
I have four coding help questions please answer them truthfully. Thank you.
#1: For example.bat file what do I need to have as code to run example.exe as Windows 11 Compatibility?
#2: For example2.bat file what do I need to have as code to run example2.exe as Windows 10 Compatibility?
#3: For example3.bat file what do I need to have as code to run example3.exe as Windows Vista Compatibility?
#4: For example4.bat file what do I need to have as code to run example4.exe as Windows XP Compabitility?
awesomecodinghelp1278
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Nov 18, 2024 18:44:07 GMT -8
I know about right click compatibility mode change. I have four coding help questions please answer them truthfully. Thank you. #1: For example.bat file what do I need to have as code to run example.exe as Windows 11 Compatibility? #2: For example2.bat file what do I need to have as code to run example2.exe as Windows 10 Compatibility? #3: For example3.bat file what do I need to have as code to run example3.exe as Windows Vista Compatibility? #4: For example4.bat file what do I need to have as code to run example4.exe as Windows XP Compabitility? awesomecodinghelp1278 setting compatibility mode via CMDI've figured it out how to do so. In case somebody wants to do the same here's how it goes: REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v \""C:\Path\to\exe.exe\" /t REG_SZ /d "WIN95" /f
If you want to add more than one attribute you have to change the part after /d, for example: /d "WINXPSP3 256COLOR 640X480"
And last but not least if you want to do it from the directory you're currently into you change the path according to this:
/v "%CD%\exe.exe"
- Other compatibility options:
Display Settings Value | Description | DISABLETHEMES | Disable Visual Themes | 640X480 | Run in 640 x 480 screen resolution | HIGHDPIAWARE | Disable display scaling on high DPI settings | 256COLOR | Run in 256 colors | DISABLEDWM | Disable Desktop Composition |
Privilege Level Value | Description | RUNASADMIN | Run program as an administrator |
If the settings are written into the HKEY_LOCAL_MACHINE part of the registry, the settings cannot be changed by a user that has no local administrative rights. The following registry command line applies Windows XP SP3 compatibility mode and defines the application to run as administrator. REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "C:\temp\compatmodel\iconsext.exe" /t REG_SZ /d "WINXPSP3 RUNASADMIN" /f
|
|