This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)


On Wed, Oct 23, 2002 at 01:32:37PM -0700, Stephan Mueller wrote:
>The API you want to start with is probably SHGetFolderPath.  See
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc
>/platform/Shell/reference/functions/shgetfolderpath.asp
>
>It lists a number of CSIDL_* constants that you'd want to choose from,
>as well as linking to more complete lists.  It also mentions that for
>downlevel platforms, you may want SHGetSpecialFolderPath instead.
>
>This may turn out to be a fun one in terms of providing equivalent
>functionality in cygpath on all the Cygwin support platforms.

We're already using these functions in cygpath.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]