Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!bingvaxu!sunybcs!ugpolvin From: ugpolvin@cs.Buffalo.EDU (Joseph Polvino) Newsgroups: comp.lang.pascal Subject: Question about Turbo Pascal's Exec Keywords: Turbo Pascal v4.0 exec Message-ID: <5708@cs.Buffalo.EDU> Date: 6 May 89 03:14:51 GMT Sender: nobody@cs.Buffalo.EDU Reply-To: ugpolvin@cs.Buffalo.EDU (Joseph Polvino) Distribution: usa Organization: SUNY/Buffalo Computer Science Lines: 17 I came across the Exec procedure, and it takes the form of: Exec(Path,CmdLine : string); The way it looks to me is it will take a path like 'c:\' and a command line like 'ted autoexec' and run ted on autoexec. I have been unable to decypher how to use Exec, let along know if I'm using the correct procedure! If anyone out there knows how to use Exec or knows how to run a program within a TP procedure, I'd really appreciate it. Thanks for helping me (and others I'm sure) out! --- Joe Polvino ugpolvin@cs.buffalo.edu v058p7wh@ubvms.bitnet