*.COM file execution

Andrew Dalgleish andrewd@axonet.com.au
Sun Sep 13 18:50:00 GMT 1998

> -----Original Message-----
> From:	Dr. Volker Zell [SMTP:vzell@de.oracle.com]
> Sent:	1998 September 11, Friday 00:47
> To:	noer@cygnus.com
> Cc:	gnu-win32@cygnus.com
> Subject:	Re: *.COM file execution
> Hi
>     >> The necessary support in Cygwin32 is fixed in the development
>     >> sources / next major release:
>     >>         * spawn.cc (perhaps_suffix): If report_failure_p is
>     >> non-zero this function will search for (PROG is the pathname to
>     >> the executable file) PROG.exe, PROG, PROG.com, PROG.bat, and
>     >> PROG.cmd and return either the full path name if found or NULL
>     >> if not.  (spawn_guts): If the file name of the executable end
>     >> in either .exe, .com, .bat, or .cmd we assume that it is not a
>     >> script file and therefore do not open the file to determine if
>     >> it is.
> Is it possible to include the .btm extension for the 4NT command
> interpreter fans. Here the description of a btm file from the
> online-help of the 4NT command interpreter:
> BTM File:  A special type of 4NT batch file which is loaded into
> memory to speed up execution.
[Andrew Dalgleish]  
I've got a patch to spawn.cc which uses NT's PATHEXT variable.
I'm still testing it, but I'll post it later this week if nothing

For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

More information about the Cygwin mailing list