delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/11/03:43:34

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: Sat, 11 Nov 2000 09:34:00 +0100
From: Jerome BENOIT <benoit AT madrid DOT cdc DOT u-cergy DOT fr>
Message-Id: <200011110834.JAA06554@madrid.cdc.u-cergy.fr>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: cygwin issue: foo[.exe]

Bonjour:

Is there a cygwin trick to get the full name of a true program file
inside a C source ?

What I want is a procedure that
(1) gives `foo.exe' when the input is `foo' and when `fo.exe' does exist;
(2) gives `foo' when the input is `foo' and when `foo' is a script !

Thanks in advacne,
Jerome BENOIT

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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