Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!apple!apple.com!desnoyer From: desnoyer@apple.com (Peter Desnoyers) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: TSR to Ignore commands Message-ID: <3743@internal.Apple.COM> Date: 21 Aug 89 22:19:50 GMT Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 23 References:<2841@ndsuvax.UUCP> <8200@spool.cs.wisc.edu> > In article <2841@ndsuvax.UUCP> ncperson@ndsuvax.UUCP (Brett G. Person) writes: > > > >I'd like a progran that will cause dos to ignore certain commands > >such as FORMAT or COPY etc. Does such a program exist? One thing you could do is rename the command to something un-typeable (e.g. a string of graphics characters) and then create either a batch file or an application to run it. The advantage of the application is that the user can't just edit the batch file to do what they want. E.g. rename format.com to , then write format.c: ... printf( "disk to format:"); scanf( "%s", name); if (...disk is c:...) printf( "cannot format hard disk.\n"), exit(); else with proper args.> Peter Desnoyers Apple ATG (408) 974-4469