public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Matt Seitz <mseitz@mhseitz.onmicrosoft.com>
To: Aaron Schneider <notstop@users.sourceforge.net>,
	"cygwin@cygwin.com"	<cygwin@cygwin.com>
Subject: RE: Inconsistence on file operation when the name already exists with exe extension
Date: Tue, 10 Jul 2012 05:38:00 -0000	[thread overview]
Message-ID: <1BBEF94B6B46E54980290D150A6F2EDD20C950F5@SN2PRD0610MB396.namprd06.prod.outlook.com> (raw)
In-Reply-To: <BLU0-SMTP224D901B80815ECFB99E3BCED30@phx.gbl>

> On Behalf Of Aaron Schneider
> 
> I believe that Cygwin tries to emulate cmd.exe

No, Cygwin does not try to emulate the cmd.exe shell.  Cygwin tries to emulate a shell running on Linux, usually the "bash" shell.

That's why you have to use "./file.exe" or "./file" to run a program from the current directory (if the current directory is not included in PATH).

If you want to use "cmd.exe" as your shell, you can try running "cmd.exe", and then execute the other Cygwin programs you want directly (C:\cygwin\bin\file.exe) from cmd.exe.  But that may run into problems.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2012-07-10  5:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09 15:23 notstop
2012-07-09 15:45 ` Christopher Faylor
2012-07-09 16:47   ` Steven Hartland
2012-07-09 17:20   ` Aaron Schneider
2012-07-10  5:38     ` Matt Seitz [this message]
2012-07-10  8:45       ` Aaron Schneider
2012-07-10 15:25         ` Earnie Boyd
2012-07-10 16:23           ` Larry Hall (Cygwin)
2012-07-10 16:54           ` Aaron Schneider
2012-07-10 17:03             ` Christopher Faylor
2012-07-10 18:59             ` Earnie Boyd
2012-07-11  0:50             ` Andrey Repin
  -- strict thread matches above, loose matches on Subject: below --
2012-07-08 20:03 Aaron Schneider
2012-07-08 20:19 ` Aaron Schneider
2012-07-08 20:27   ` marco atzeri
2012-07-08 20:37     ` Aaron Schneider
2012-07-09 12:36       ` Earnie Boyd
2012-07-08 20:49     ` Aaron Schneider
2012-07-08 22:43   ` Buchbinder, Barry (NIH/NIAID) [E]
2012-07-08 23:20   ` Andrey Repin

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=1BBEF94B6B46E54980290D150A6F2EDD20C950F5@SN2PRD0610MB396.namprd06.prod.outlook.com \
    --to=mseitz@mhseitz.onmicrosoft.com \
    --cc=cygwin@cygwin.com \
    --cc=notstop@users.sourceforge.net \
    /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).