Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gumby.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!bellcore!decvax!genrad!panda!talcott!harvard!seismo!uwvax!gumby!g-frank From: g-frank@gumby.UUCP Newsgroups: net.micro.pc Subject: Re: MS-DOS cd command Message-ID: <393@gumby.UUCP> Date: Fri, 7-Jun-85 10:40:23 EDT Article-I.D.: gumby.393 Posted: Fri Jun 7 10:40:23 1985 Date-Received: Sun, 9-Jun-85 02:39:56 EDT References: <2160@mhuxd.UUCP> Organization: U of Wisconsin CS Dept Lines: 21 > Any one know how I might disable the built-in cd command? > Inside command.com, there is a table of internal command names. I think you can just go in with debug, find the command name you wish to change (i.e., cd, chdir), and change it to something else the same length or shorter. I've thought about this myself. Shouldn't be hard to use the environment space to hold an entry for home directory, and just call dos to chdir to it when cd is typed with no arguments. You'll have to write pwd, too, though. -- Dan Frank Q: What's the difference between an Apple MacIntosh and an Etch-A-Sketch? A: You don't have to shake the Mac to clear the screen.