Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!kth.se!sunic!mcsun!hp4nl!phigate!ehviea!sun4dts!derek From: derek@sun4dts.dts.ine.philips.nl (derek) Newsgroups: comp.lang.pascal Subject: Re: Using files from within a file Message-ID: <706@sun4dts.dts.ine.philips.nl> Date: 28 Mar 91 13:55:07 GMT References: <1991Mar27.160905.1962@cs.mcgill.ca> <1991Mar27.161456.2175@cs.mcgill.ca> Lines: 24 storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes: >I would like to make my PASCAL program to use another file that is either >in the current directory, or in the path. >For example, I might want a program to run McAfee's SCAN on a set of files, >or I might want to run PKZIP. >Is there a way to do this from within a PASCAL program...? >storm@cs.mcgill.ca McGill University It's 11pm, do YOU >Marc Wandschneider Montreal, CANADA know what time it is? Use the {$M} directive to give the executed file some space to run SwapVectors Exec ... SwapVectors Read the manual on these commands. This is a FAQ - see Prof. Timo Salmi's excellent FAQ file at garbo.edu Best Regards, Derek Carr DEREK@DTS.INE.PHILIPS.NL Philips I&E TQV-5 Eindhoven, The Netherlands Standard Disclaimers apply.