X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Forefront-Antispam-Report: CIP:157.56.234.133;KIP:(null);UIP:(null);IPV:NLI;H:SN2PRD0610HT005.namprd06.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: 11 X-BigFish: VS11(zz1432Izz1202h1957ozzb412mz2fh87h2a8h668h839h944hd25he96h107ah) Received-SPF: pass (mail71-db3: domain of mhseitz.onmicrosoft.com designates 157.56.234.133 as permitted sender) client-ip=157.56.234.133; envelope-from=mseitz AT mhseitz DOT onmicrosoft DOT com; helo=SN2PRD0610HT005.namprd06.prod.outlook.com ;.outlook.com ; X-FB-DOMAIN-IP-MATCH: fail From: Matt Seitz To: Aaron Schneider , "cygwin AT cygwin DOT com" Subject: RE: Inconsistence on file operation when the name already exists with exe extension Date: Tue, 10 Jul 2012 05:38:01 +0000 Message-ID: <1BBEF94B6B46E54980290D150A6F2EDD20C950F5@SN2PRD0610MB396.namprd06.prod.outlook.com> References: <20120709154456 DOT GA6696 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: mhseitz.onmicrosoft.com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q6A5cSJf000756 > 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