Click to See Complete Forum and Search --> : Finding Path to User's Desktop


chud
February 3rd, 2003, 04:18 PM
Hi

i need to write a file to the user's desktop (i'm assuming if i write an icon to the desktop it will appear once the desktop is redrawn)....what is the easiest way i can find the user's desktop path.... this needs to work with Win 95, 98 and Win2K....i'm compiling in the old Borland C++ version 5.02?

filthy_mcnasty
February 3rd, 2003, 08:53 PM
look at this registry key. i dont know that it's the 100% proper one but it holds the correct path on both my xp and 98 machines....


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GrpConv\MapGroups]