[net.micro.pc] Disabling the MS-DOS cd command

dan@mgweed.UUCP (Daniel Gray) (06/07/85)

There are several ways of doing this. 1.) Write your own shell program -or-
If you don't like this method, the other method is a little easier to do.

To change and/or delete ANY of the MS-DOS Resident commands, i.e. COPY
DEL, ERASE, MKDIR, CD, SET, etc, etc. Use the DEBUG Facility on
"COMMAND.COM". (be sure to keep a copy safe in case you make a mistake.)
Using DEBUG, locate all occurrences of the command[s] that you wish to 
change. Substitute the built-in command WORD with one of your own choosing.

CAUTION: The NEW name MUST be EXACTLY as long as the OLD name. If you
wish to disable the command completely, Insert codes for characters 
that are NOT availbile on the Keyboard.

Hope that this is of some help.

Daniel Gray
Consultant to AT&T-CP@Montgomery
(312)859-4487 ihnp4!mgnetp!mgweed!dan	[P1 is active!]