This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 23 Oct 2002 16:38:03 -0400
- Subject: Re: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?)
- References: <BF653A78FF4ED0468924C8721AC5EAE701457EE6@df-muttley.dogfood>
- Reply-to: cygwin at cygwin dot com
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/