Rad,

If we change your code a bit, we see:
Code:

const(_Desktop,readvalue('HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders','Desktop'))

;? _HKCUSMWCV
? _Desktop



? _Desktop only shows as a 1..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's