Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)
Christopher Faylor
cgf@redhat.com
Wed Oct 23 15:13:00 GMT 2002
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/
More information about the Cygwin
mailing list