This is the mail archive of the
mailing list for the Cygwin project.
Re: recognising .bat as an executable
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: zzapper <david at tvis dot co dot uk>
- Cc: cygwin at cygwin dot com
- Date: Mon, 26 May 2003 09:55:23 -0400 (EDT)
- Subject: Re: recognising .bat as an executable
- Reply-to: cygwin at cygwin dot com
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
"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.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,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