Code: Select all
put "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\c:\windows\test.exe" into myRegSetting
get setRegistry(myRegSetting, "RUNASADMIN")
The following works correctly, but I need the full path to the .exe
Code: Select all
put "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\test.exe" into myRegSetting
get setRegistry(myRegSetting, "RUNASADMIN")
Thanks,
Carel