Re: How to get user's local setting folder

From: Andrew Diabo (aadiabo_at_ix.netcom.com)
Date: 05/22/04


Date: Sat, 22 May 2004 12:20:16 -0400

Hi Mike,

Thanks for the tip. How do I get the Local Settings of a user typically:
C:\Documents and Settings\Administrator.HOMEGROUP\Local Settings\Application
Data

What parameter should I use?

Thanks

Andrew

"Mike Shkolnik" <mshkolnik2002@ukr.net> wrote in message
news:40af73e7@newsgroups.borland.com...
> Andrew,
>
> you need the SHGetSpecialFolderLocation with CSIDL_APPDATA parameter. See
> the sample:
> ******************************
> Delphi tip#106: to read a path of system folder
> http://www.scalabium.com/faq/dct0106.htm
> ******************************
>
> --
> With best regards, Mike Shkolnik
> E-mail: mshkolnik@scalabium.com
> WEB: http://www.scalabium.com
>
> "Andrew Diabo" <aadiabo@ix.netcom.com> wrote in message
> news:40aec8d2@newsgroups.borland.com...
> > I would like to save my applications settings .ini file in the login
> user's
> > local setting folder. What is the Windows API to get that folder? Thanks
> for
> > any help.
> >
> > Andrew
> >
> >
>
>



Relevant Pages

  • hsperfdata file
    ... the Local Settings wouldn't show up. ... What I found was that if I manually gave permissions to the user as ... have had this same folder created and are also having roaming profile issues. ...
    (microsoft.public.office.misc)
  • Re: Finding file names
    ... I did include the folder name whilst searching for the file, ... does not have any extension as it is a flat file. ... Andrew wrote: ...
    (microsoft.public.excel.programming)
  • Re: How to backup mailboxes?
    ... This also means that I can easily see the file size of each folder by ... Bruce Hagen ... Following Bruce's first response I checked to see if Show Hidden Files ... Administrator and All Users but Local Settings is ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: How to backup mailboxes?
    ... This also means that I can easily see the file size of each folder by ... Bruce Hagen ... Following Bruce's first response I checked to see if Show Hidden Files ... Administrator and All Users but Local Settings is ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: How to backup mailboxes?
    ... que fastidio no tienen nada mas que hacer ... under Owner there is no Local Settings folder to be ... where they are on my HDD - the window that opens just says Outlook ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)