Anyone familiar enough with the registry should be able to figure out that you mean "HKEY_CURRENT_USER\Control Panel\Desktop" where you use the var "$HKCPCPD".

Personally, I would have used $HKCUCPD [Wink]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.