>Hi Jean-Rene,
>
>Unfortunately, I didn't include the ability to retrieve the Common Desktop folder. It would have to be an added function. If I can find the time, I'll see if I can add this. However, I won't have any way to test it. If I do get it added I'll post back.
I workarond the problem with this:
* 260 is the current value of MAX_PATH
lcbuffer = SPACE(260)
lnresult = FindDesktopFolder(0, @lcbuffer)
lcdesktop = LEFT(lcbuffer, lnresult)
* In case it a Win NT 4.0
if At("PROFILES\",upper(lcdesktop) ) <>0
lcdesktop = LEFT(lcdesktop ,At("PROFILES\",upper(lcdesktop) )+8 )+ ;
"ALLUSE~1\DESKTOP"
ENDIF