The path to your desktop is in the registry. You will find two paths one for all users and one for the current user. The keys are HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellFolders or HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ShellFolders. Maybe on Win95, 98, 98SE the path is a little bit different. It coulde be also different if you have alternative desktops as e.g. Norton Desktop.
In LV5.0.1 you do not have VIs for registry access so I will give you mine. The documentation is small so if you need more send a email to waldemar@hersacher.de.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions