delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/11/06:44:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 11 Jul 2001 12:43:45 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.1.8: can't access /home/user from a windows native executable like rc.exe
Message-ID: <20010711124345.H8578@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <01071110062202 DOT 02318 AT debian100>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <01071110062202.02318@debian100>; from mustun@ise.ch on Wed, Jul 11, 2001 at 10:06:22AM +0200

On Wed, Jul 11, 2001 at 10:06:22AM +0200, Michael Mustun wrote:
> 1.1.8: can't access /home/user from a windows native executable like rc.exe
> 
> Why does the following not work:
> 
> - - -
> $ RC.EXE afile.rc
> 
> 
> afile.rc (2): error RC2135 : file not found: 
> /home/app/main.ico
> 
> - - -
> 
> The file /home/app/main.ico is accessible and readable 
> with vi etc..
> 
> 
> Contents of afile.rc:
> - - -
> $ cat ./afile.rc
> DIOS_ICON  ICON  DISCARDABLE
> "/home/app/main.ico"
> - - -
> 
> If I use "//nthost/app/main.ico" (UNC notation?) 
> instead of "/home/app/main.ico", it works.
> 
> Again, why can RC.EXE and other m$-tools not access 
> files in the posix notation (/a/bb/ccc)? 

Installing Cygwin doesn't mean that native Windows apps suddenly
understand POSIX path syntax since they still have no clue about
Cygwin. You'll have to use native Windows syntax like 
"C:\cygwin\home\app\main.ico" if you use native Windows apps.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019