Cool! I have never seen this “reg delete” command.
I think maybe you have a syntax issue with the “reg delete” command:
dos reg delete {“HKCU”& (name of key whose ((it = name of current user as lowercase OR it starts with name of current user as lowercase & “@” ) of (it as string as lowercase) of value “Logon User Name” of key “Software\Microsoft\Windows\CurrentVersion\Explorer” of it) of key “HKEY_USERS” of registry) & “\Software\Research In Motion\Blackberry\Synchronize”} /v parameters /f
dos reg delete {“HKCU”& (name of key whose ((it = name of current user as lowercase OR it starts with name of current user as lowercase & “@” ) of (it as string as lowercase) of value “Logon User Name” of key “Software\Microsoft\Windows\CurrentVersion\Explorer” of it) of key “HKEY_USERS” of registry) & “\Software\Research In Motion\Blackberry\Synchronize”} /v parameters /t reg_dword /d 18
Perhaps you might need to have extra quotes (") around before the ‘{’ and after ‘}’ if the reg delete requires quotes around the key name.
The reg command is only available in XP forward, so don’t try to use this method on Windows 2000 machines. With that said, you can use REG ADD instead of DELETE to create/change keys.
If you want the REG command for Windows 2000, it’s part of the support tools found on the Windows 2000 CD. So you’d need to download it to a 2000 PC first.