Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 26 May 2003 09:55:23 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: zzapper cc: cygwin AT cygwin DOT com Subject: Re: recognising .bat as an executable In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 26 May 2003, zzapper wrote: > Hi Y'All > > How do I get bash to recognise a MSDOS batch file as an executable > > At present I have to type ppm.bat in full, rather just ppm > zzapper "cmd /c ppm" or do an "ln -s ppm.bat ppm" first. This raises a similar issue: "vi" and "egrep" cannot be invoked from cmd.exe, because cmd doesn't recognize symbolic links. A solution to this would be to also create "vi.bat" and "egrep.bat". I'm not suggesting that this be done in the default package installation (although it wouldn't hurt), but I wanted to get this into the archives. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/