public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Reza Habib" <reza@psych.utoronto.ca>
To: "Cygwin Mailing List" <cygwin@sourceware.cygnus.com>
Subject: paths under ming
Date: Sat, 10 Jul 1999 13:40:00 -0000	[thread overview]
Message-ID: <000101becb14$e0ff1330$cd8b94d1@newton> (raw)

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@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: "Reza Habib" <reza@psych.utoronto.ca>
To: "Cygwin Mailing List" <cygwin@sourceware.cygnus.com>
Subject: paths under ming
Date: Sat, 31 Jul 1999 18:34:00 -0000	[thread overview]
Message-ID: <000101becb14$e0ff1330$cd8b94d1@newton> (raw)
Message-ID: <19990731183400.5M7Kh2XrVORPDIHpfMZD4LIVZF8SAKTWS9gRm68KSsk@z> (raw)

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@sourceware.cygnus.com

             reply	other threads:[~1999-07-10 13:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-10 13:40 Reza Habib [this message]
1999-07-11 12:32 ` Mumit Khan
1999-07-31 18:34   ` Mumit Khan
1999-07-31 18:34 ` Reza Habib
1999-07-11 15:47 Earnie Boyd
1999-07-31 18:34 ` Earnie Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000101becb14$e0ff1330$cd8b94d1@newton' \
    --to=reza@psych.utoronto.ca \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).