This is the mail archive of the cygwin 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: Default File Path


On 3/19/2013 7:43 AM, AlanWB wrote:
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?

This sounds like a question better directed to the NetBeans folks as
it has to do with how they use Cygwin's tools in their environment.

--
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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


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