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: Access '.BAT' executables via $PATH without typing '.BAT'?


At 02/11/2002  06:22 PM, Peter Nann wrote:

>Is there any way to configure Cygwin so that I
>can run DOS/Windows Batch files that are in my $PATH
>without typing the '.bat'?

You could always compile the .BAT file into a .COM file then convert the 
.COM to an .EXE.  I just converted a batch file using a PC Mag app written 
in 1990 and it worked fine.  It's a couple of extra steps and I don't know 
how well it would work with sophisticated batch files but it may be an 
option for you.

rotaiv


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]