X-Spam-Check-By: sourceware.org Message-ID: <4625D0FC.7020509@users.sourceforge.net> Date: Wed, 18 Apr 2007 10:04:12 +0200 From: Frank Fesevur User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: .exe magic References: <46254976 DOT 4000308 AT cygwin DOT com> In-Reply-To: <46254976.4000308@cygwin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 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. Also tested with from within a .bat file and is has the same problem. C:\>type test.bat c:\cygwin\bin\bash_test C:\>test C:\>c:\cygwin\bin\bash_test c:\cygwin\bin\bash_test wordt niet herkend als een interne of externe opdracht, programma of batchbestand. Sorry, but I don't like this idea. It seems to break too much for us. Regards, Frank P.S. All test done on Dutch Windows XP. -- 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/