This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recognising .bat as an executable


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]