Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!dayton!viper!john From: john@viper.UUCP Newsgroups: comp.lang.pascal,comp.sys.ibm.pc Subject: Re: How to exit turbo pascal without reloading COMMAND.COM ? Message-ID: <569@viper.UUCP> Date: Sat, 21-Feb-87 23:06:55 EST Article-I.D.: viper.569 Posted: Sat Feb 21 23:06:55 1987 Date-Received: Sun, 22-Feb-87 15:42:05 EST References: <610@calma.UUCP> Reply-To: john@viper.UUCP (John Stanley) Organization: DynaSoft Systems Lines: 28 Xref: watmath comp.lang.pascal:60 comp.sys.ibm.pc:1834 Keywords: In article <610@calma.UUCP> ho@calma.UUCP (Sidney N. Ho) writes: > > >When I exit from Turbo Pascal, it always try to read Drive A to reload >the COMMAND.COM. The same thing happens even if I make a .COM file out >of my program. I found it is annoying. > >Is there a way to get around with it? Thanx. You will probably still need to reload one way or the other, but if you have a hard disk or use a ramdisk, you can tell the system to reload COMMAND.COM from either. 1) make sure you allways will have a copy of COMMAND.COM on the drive you are going to specify. 2) from the command line (or, preferably in AUTOEXEC.BAT) assuming your ramdisk is drive C: execute the line: set COMSPEC=C:\somedir\another\COMMAND.COM The drive and path may point just about anywhere, but be sure you're allways going to have it there or the system may bomb on you when it tries to reload on exit. --- John Stanley (john@viper.UUCP) Software Consultant - DynaSoft Systems UUCP: ...{amdahl,ihnp4,rutgers}!{meccts,dayton}!viper!john