Hi,

This does work for the "write value" command, but not for the "use" command.

this works:

$NoSaveSettingshklm=ExistKey("HKEY_LOCAL_MACHINE\Software\Microsoft\windows\currentversion\explorer")
If $NoSaveSettingshklm = 0
$temp = WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\windows\currentversion\explorer","NoSaveSettings","1","REG_DWORD")
Endif

But this does not work:
$returncode = delkey ("hkey_current_user\network\h")
if $returncode = 0
? "key deleted...."
endif
$temp = use h: "$gbr"

Can you help me??

Thanks,

Michel