Meaning of the tilde in compatibility settings values of the Windows 8.1 registry

痴心易碎 提交于 2019-12-06 00:24:55

问题


I tried to figure out how to manage compatibility settings for some older programs in an automated way. This Super User question How can I set the compatibility mode for an executable from the command line? already helped a lot pointing onto the registry key being used for compatibility settings.

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

Sadly, there is one tiny detail remaining unanswered so far. I tried to figure out what changes in application's property dialogue does by inspecting the related registry value, and it seemed so simple! But I'm irritated by the tilde char preceding the known compatibility switches, for example:

~ WINXPSP3
~ MSIAUTO
~ RUNASADMIN WINXPSP3

I tried searching the web for it but without success. I found this ~ flag being used in Windows 8.1 (and Windows 8), but not in earlier Windows versions.

Does anyone know more about it?

  • When is it used?
  • What does it mean?
  • Is there any reliable reference?

回答1:


Most likely, the ~ (tilde) is indeed for Windows 8. I've noticed, in similar situations, on Windows 7, the # (hash) character (followed by space).



来源:https://stackoverflow.com/questions/27041372/meaning-of-the-tilde-in-compatibility-settings-values-of-the-windows-8-1-registr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!