Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 23 Oct 2002 16:38:03 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Meaningful Windows locations and cygpath (Was Re: Is it possible to copy a file from anywhere to My Documents with bash cp?) Message-ID: <20021023203803.GA30239@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i 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/