` Printed Icetips Article

Icetips Article



Par2: Writing to user's "My Documents" directory
2002-03-05 -- Steven Gallafent
 
> In Win2000 and WinXP the folder "My Documents" is a reference to
> C:\Documents and Setting\*UserName*\My Documents
>
> I need to save files under ..\All Users\Application Data\... and
> \*UserName*\Application Data\
>
> How can I do ? Which API or Interface to use ???

ShGetFolderLocation

Start at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/shell/reference/functions/shgetfolderlocation.asp?frame=true (watch
for wrapping on the URL).



Printed November 21, 2024, 11:18 am
This article has been viewed/printed 35230 times.