delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/31/10:38:17

From: "Pavlos" <trash24379 AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getting all filename in sub-directory
Date: Sat, 31 Jul 1999 14:41:38 +0300
Organization: An OTEnet S.A. customer
Lines: 11
Message-ID: <7nunfm$beh$1@newssrv.otenet.gr>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990729110549 DOT 25908K-100000 AT is>
NNTP-Posting-Host: dram-a02.otenet.gr
X-Trace: newssrv.otenet.gr 933421366 11729 195.167.113.225 (31 Jul 1999 11:42:46 GMT)
X-Complaints-To: abuse AT otenet DOT gr
NNTP-Posting-Date: 31 Jul 1999 11:42:46 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>An excercise that is left to the interested reader: why did I say
>"command.com" and not simply "command"?

AFAIK, if there is a file name "command", it will try to run that file, even
if it isn't executable file. The DOS standard search algorithm will first
try to find a file with no extension, then with .com, then with .exe.
(assuming you don't give "command." with the dot)
Pavlos



- Raw text -


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