delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/14/03:43:01

From: andrewd AT axonet DOT com DOT au (Andrew Dalgleish)
Subject: RE: *.COM file execution
14 Sep 1998 03:43:01 -0700 :
Message-ID: <91A8FD196436D1118EC2006008186C960D2A4A.cygnus.gnu-win32@server1.axonet.com.au>
To: "Dr. Volker Zell" <vzell AT de DOT oracle DOT com>
Cc: gnu-win32 AT cygnus DOT com


> -----Original Message-----
> From:	Dr. Volker Zell [SMTP:vzell AT de DOT oracle DOT com]
> Sent:	1998 September 11, Friday 00:47
> To:	noer AT cygnus DOT com
> Cc:	gnu-win32 AT cygnus DOT 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
breaks.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019