Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ra!Isis.MsState.Edu!it1 From: it1@Isis.MsState.Edu (Tim Tsai) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Need to change name of AUTOEXEC Message-ID: Date: 31 Mar 91 08:59:32 GMT References: <1991Mar28.190057.3441@hubcap.clemson.edu> <1991Mar31.173636.787@darwin.ntu.edu.au> Sender: usenet@ra.MsState.Edu Lines: 28 Nntp-Posting-Host: isis.msstate.edu >In article <1991Mar28.190057.3441@hubcap.clemson.edu>, chrisb@hubcap.clemson.edu (Chris Behrens) writes: > Is there a program that will allow me to change the name of the file > that COMMAND.COM looks for when booting ?? By default, it looks for and > executes AUTOEXEC, i want to name it something else, maybe place it in a > subdirectory or something. Simply running a different BAT file from > within the AUTOEXEC is not what I want. > > Any help appreciated... I normally use PC Tools for this purpose. I've used "dos\auto.bat" and "dos\cf.sys" for years without any problem. I also have COMMAND.COM as "dos\cmd.com" (and COMSPEC is point to it).. You can do this by modifying the two hidden system files on your boot disk (you didn't hear this from me if you screw up your disk in the process.. :-) I like being able to type "del *.*" in my root directory (and no, I don't type that on other people's machine and I don't like read-only autoexec.bat & config.sys) Oh yeah, some dumb programs will insist on looking for C:\command.com instead of looking at the COMSPEC environment variable.. You can have a dummy c:\command.com in the root directory to keep these programs happy. One side effect: The floppy disks you format will inherit this behavior too. -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.