I have been googling this for a couple of hours just wanted to understand what is the difference with the tilde?

I noticed when I right click and get to the "Property/Compatibility" tab and then click on "Run this program as an Administrator", it puts a "~" before the "RUNASADMIN" in the registry for the following key.

Code:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

"C:\\Program Files (x86)\\Example.exe"="~ RUNASADMIN"