From: "Pavlos" 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: 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