Access '.BAT' executables via $PATH without typing '.BAT'?

rotaiv rotaiv@biapo.com
Tue Feb 12 05:05:00 GMT 2002


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/



More information about the Cygwin mailing list