delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/10/16:41:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Reza Habib" <reza AT psych DOT utoronto DOT ca>
To: "Cygwin Mailing List" <cygwin AT sourceware DOT cygnus DOT com>
Subject: paths under ming
Date: Sat, 10 Jul 1999 16:43:34 -0400
Message-ID: <000101becb14$e0ff1330$cd8b94d1@newton>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

Hello.  I've written a console program with mingw32 which takes command line
parameters.  Some of these parameters consist of file names (including
paths).  Running the program under bash works fine, however, running it from
the windows console, it can't seem to find the files the parameters refer
to.  I think this has to do with how the directory and filenames are
specified.  I've tried both windows style backslashes '\' and unix style
forward slashes '/', as well as all caps, all lower case, and matching
cases, and none of this seems to work under the dos console.  Can someone
tell me how programs compiled with mingw32 expect filenames passed from the
command line.  Thanks.

Reza


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