Path: utzoo!utgpu!watserv1!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!sun-barr!newstop!grapevine!panarthea.ebay.sun.com From: koreth@panarthea.ebay.sun.com (Steven Grimm) Newsgroups: comp.sources.atari.st Subject: v04i044: killdrv -- Add/remove drives from TOS's drive list Keywords: lharc, uue, C Message-ID: Date: 22 Dec 90 19:22:00 GMT Sender: news@grapevine.EBay.Sun.COM Reply-To: erlingh@idt.unit.no (Erling Henanger) Lines: 85 Approved: koreth@panarthea.ebay.sun.com Submitted-by: erlingh@idt.unit.no (Erling Henanger) Posting-number: Volume 4, Issue 44 Archive-name: killdrv [Binaries in comp.binaries.atari.st. -sg] This program can be used to tell tos that certain drives do not exist (even if they do). Also the opposite can be done, tell tos that drives exist, even if they don't. I use this program to tell TOS not to bother about my minix-partitions. USAGE: killdrv -c : will disable drive C:. killdrv +q : will enable drive Q:. killdrv -cde : will disable drive C: D: and E:. etc. If no parameters are given to the program, it will start to look for the file KILLDRV.INF in the root directory. This file should contain the same parameters as specified from a SHELL. example: -de [EOF] should kill drive D: and drive E:. Be sure that there are no leading spaces before the -/+ sign. That's it. It works fine for me, so I thought maybe someone else could use it too. Oh - and rename to killdrv.prg to put it in the auto folder. src is supplied. Do whatever you want with it. Erling Henanger erlingh@idt.unit.no ============================================================================ table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 killdrvs.lzh M'ZDM;&@Q+;X# #2!@ NA-T%2 "6MI;&QDYW;Y]"E21/=7-W'B2?-E4*(y M@)!@%,)4>*X8=J"?ZZ(.RK\CI;TT>!O+6T1H@*;$NG^?:5/:+4;&(MQ"@1HVKw M9J562OM ?QQA65N?/+[98"_G])P'+\PO^>"P=_4D50S:/_DK98&K(6F>-WK?v M*8=V**$1^=%]G.S'$1&(C^")R-]##>.SI>;!_\YI#D*_\[_,KT &_P;)A2=Yu M#;^^L_^B6 $7$#T"+DO$7E+N(_J$Q _W[BOM. ;N#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