X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:subject:mime-version :content-type:content-transfer-encoding; q=dns; s=dkim1; b=Y70xZ qx1mdbi9zU222l4rzmMI0eDcxFhNDKq1UPFKBrMtXRJg8e0D0qzN0L3TvD/lOMVk cntzDvHBYD5Cx5Ey3kFgmRd+79iNC9KUOxnGOfHuQi2DDTsW8hOQby5p16dDygh/ 2UfvWUbEe+9kLO1Xu960UrHiOG24o53MYDNldE= DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:subject:mime-version :content-type:content-transfer-encoding; s=dkim1; bh=okTMTEIxo7l QfzfHTSSjFQguG38=; b=fYtu6a8xxbca4mGMq6Qz/B3cDV8Jjr5S23HPET2zTDD cPEGZpc83nWV8AHnRaVH6KrC6hmaWrjIhZc4MsF2AnjJ09W6DGGIUEwYThULUoLp 6sOTt+TKR6KYXtWIN7IWa1V3u9G+ZrD6Qd/5h+E1lBPpSEPIdyiOEEmiQUto2ylM = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: sourceware.org Date: Tue, 19 Mar 2013 04:43:24 -0700 (PDT) From: AlanWB To: cygwin AT cygwin DOT com Message-ID: <1363693403984-97064.post@n5.nabble.com> Subject: Default File Path MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am developing an application using NetBeans CygWin C++, and it is messing up the default file path. When I try to read a file using fopen (fname, "r") if the file name does not specify the directory, instead of assuming that the file is in the current directory, it seems to prefix a file path including "cygdrive". The result is that I have to specify the full file path. But this is not desirable for various reasons. Help! Does any body know how to get round this? -- View this message in context: http://cygwin.1069669.n5.nabble.com/Default-File-Path-tp97064.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple