Path: utzoo!censor!geac!jtsv16!uunet!koosh!bob From: bob@omni.com (Bob Weissman) Newsgroups: comp.sys.ibm.pc Subject: Re: What files MUST be in the root directory? Summary: You can move COMMAND.COM Message-ID: <747@mondo.omni.com> Date: 8 Aug 89 15:11:33 GMT References: <189@nisca.ircc.ohio-state.edu> Distribution: usa Organization: OMNI Solutions, Mountain View, CA Lines: 28 In article <189@nisca.ircc.ohio-state.edu>, pjd@hpuxa.ircc.ohio-state.edu (Peter J. Dotzauer) writes: > Obviously, the two hidden files and config.sys MUST absolutely be in > the root directory, but what about command.com, if you have a comspec > line in config.sys? I haven't dared to remove command.com from the root, > for fear of screwing something up. You can move COMMAND.COM. I've been running that way (under MSDOS 3.30) for over a year. Just make sure you have a SHELL= (not COMSPEC) line in CONFIG.SYS, for example: SHELL=C:\CMDS\COMMAND.COM C:\CMDS /E:640 /P Note the first argument to COMMAND tells it where to find itself. (I do this so I can run a command interpreter conveniently from under MS Word, which allows you to run an arbitrary program from under it, but has no command to just spawn COMMAND.COM. I've put COMMAND.COM in my \CMDS directory, along with the rest of the MSDOS executables.) Oh, and I believe that AUTOEXEC.BAT must also be in the root directory. -- Bob Weissman Domainish: bob@omni.com UUCPish: ...!{amdahl,apple,pyramid,sgi,tekbspa,uunet}!koosh!bob