www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Michael Hoffman <b3i4old02 AT sneakemail DOT com> |
Subject: | Re: .exe magic |
Date: | Wed, 18 Apr 2007 09:25:23 +0100 |
Lines: | 31 |
Message-ID: | <f04kmb$c6v$1@sea.gmane.org> |
References: | <46254976 DOT 4000308 AT cygwin DOT com> <4625D0FC DOT 7020509 AT users DOT sourceforge DOT net> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
In-Reply-To: | <4625D0FC.7020509@users.sourceforge.net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Frank Fesevur wrote: > Larry Hall (Cygwin) wrote: >> Here's a naive thought. See if it makes any sense. We have lots of >> complicated logic to try to transparently handle ".exe" extensions. >> We have ".exe" extensions because Windows 9x/Me requires it to execute >> binaries. For the upcoming Cygwin 1.7 release (date TBD), we're dropping >> support for Windows 9x/Me. Does it follow that complex ".exe" logic >> could be dropped from 1.7 as a result? > > We have quite some Scheduled Tasks that run bash scripts. The command > line is like this: > C:\Cygwin\bin\bash.exe --login -c /home/administrator/MySQL-backup.sh > > It starts in C:\Cygwin\bin and they work fine right now. I have just > tested it (copied bash.exe to bash_test) and it does not seem to be a > problem for Scheduled task. > > BUT when I open a command prompt, go to c:\cygwin\bin and try start > bash_test it does not find it. Just bash starts fine. > > C:\Cygwin\bin>bash > bash-3.2$ exit > > C:\Cygwin\bin>bash_test > bash_test wordt niet herkend als een interne > of externe opdracht, programma of batchbestand. Well, it will work if you set PATHEXT=%PATHEXT%:. but there might well be other consequences. -- Michael Hoffman -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |