This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Access '.BAT' executables via $PATH without typing '.BAT'?
- From: rotaiv <rotaiv at biapo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Feb 2002 08:06:28 -0500
- Subject: 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/