Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!floyd!clyde!ihnp4!zehntel!hplabs!sri-unix!joel@Rochester.ARPA From: joel@Rochester.ARPA@sri-unix.UUCP Newsgroups: net.micro.pc Subject: Resident COMMAND.COM Message-ID: <12408@sri-arpa.UUCP> Date: Sun, 9-Oct-83 10:57:55 EDT Article-I.D.: sri-arpa.12408 Posted: Sun Oct 9 10:57:55 1983 Date-Received: Sat, 15-Oct-83 06:51:32 EDT Lines: 28 From: Joel Seiferas Below is a typical way to avoid repeatedly having to reinsert your COMMAND.COM diskette in drive A: for restoration. This method requires PC-DOS 2.0 and a driver for disk C: in RAM. It incidentally uses a simple program to put a volume label on C: and a simple program to write-protect COMMAND.COM so that it will STAY on C:. :Excerpts from AUTOEXEC.BAT; : initially, FILE1 should exist, but FILE2 should not. if exist file2 goto second :first rename file1 file2 label c: pseudodisk mkdir c:\booted copy command.com c:\booted >nul: chmod -ra c:\booted\command.com set comspec=C:\BOOTED\COMMAND.COM command/p :second rename file2 file1 (The second time through the batch occurs when COMMAND.COM is reinvoked. For some reason, there is no second time through if the /P switch is omitted.) Joel Seiferas University of Rochester