For instance, I am trying to set the following registry key, but am unable to do so via Revolution:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
Name: C:\Path\To\My\App.exe
Type: REG_SZ
Data: WIN98
1. What is the correct setRegistry command to do this?
The following command does not work (Revolution thinks the "\" in the application path belongs to the registry path rather than to the value name):
Code: Select all
setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\C:\Path\To\My\App.exe","WIN98")
Code: Select all
setRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\C:\\Path\\To\\My\\App.exe","WIN98")
The following command does not work:
Code: Select all
getRegistry("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\C:\Path\To\My\App.exe")