To establish the desktop location, you can do a readvalue on -

For the user:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
"Desktop"

For all users:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Shell Folders
Under 9x, this one is called "Common Desktop"

HTH,

- Kent

[ 16 April 2002, 14:15: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's