Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wasatch!cs.utexas.edu!uunet!mcvax!unido!rmi!infoac!infohh!natec From: natec@infohh.rmi.de (NATEC Institut GmbH) Newsgroups: comp.lang.pascal Subject: Re: Reading a directory from Turbo. Message-ID: <563@infohh.rmi.de> Date: 25 Jul 89 12:38:20 GMT References: <9559@xanth.cs.odu.edu> Reply-To: natec@infohh.rmi.de (NATEC Institut GmbH) Organization: RMI Net * Aachen/Hamburg/Flensburg * W.Germany Lines: 17 Most simple solution is perhaps: Program Temp; {$M $4000, 0, 0} uses Dos; begin Exec('C:\COMMAND.COM','/C DIR >TEMPFILE'); end. ...read that TEMPFILE afterwards. Dr Gerd C Schmerse | UUCP: natec@infohh.rmi.de | ___ NATEC Institut | 49 40 88300170 (fax) | /o o\ Hamburg, W.Germany | 49 40 88300124 (voice) | -m-"-U-"-m-