delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <470AD3C9.6060000@pacific.net.sg> |
Date: | Tue, 09 Oct 2007 09:05:13 +0800 |
From: | Erich Dollansky <oceanare AT pacific DOT net DOT sg> |
User-Agent: | Thunderbird 2.0.0.6 (X11/20070826) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: How to write directory address under Cygwin? |
References: | <7 DOT 0 DOT 1 DOT 0 DOT 2 DOT 20071008145536 DOT 0248a870 AT eye DOT usyd DOT edu DOT au> <loom DOT 20071008T231643-724 AT post DOT gmane DOT org> |
In-Reply-To: | <loom.20071008T231643-724@post.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l9915Spb009115 |
Hi, Peter Hains wrote: > René Berber <r.berber <at> computer.org> writes: > >>> Are you sure you need the directory path not the file path? > > I actually need to specify a file within the directory. I wasn't aware that > would make a difference. > > For the record, I do have read/write permission in the directory, and the > directory does exist!! I am executing the program within the ~/SuperHirn/make you cannot define a directory in a C program like this. Take the home directory and then either move with individual 'cwd' calls to the target directory or you create at run-time with strcat the full path and then open the file. > directory and this is where the file I am specifying also resides. I do not know > for sure if this program evens runs under Cygwin, it was meant for UNIX/Linux, > I'm just trying to get it working. > Both described methods work under cygwin, any Unix I know, even Windows itself and FreeBSD. > I tried a few more iterations and nothing wants to work, very frustrating. > > Any more suggestions? Install Linux in a dual boot system?? > You do not need to do things like this just to open a file. Erich -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |