Newsgroups: comp.sys.ibm.pc.misc
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cec2!news
From: dale@cec2.wustl.edu (Dale Frye)
Subject: Re: Need to change name of AUTOEXEC
Message-ID: <1991Apr1.155628.11791@cec1.wustl.edu>
Organization: Washington University, St. Louis MO
References: <9103291744.AA27144@cwns1.INS.CWRU.Edu>
Date: Mon, 1 Apr 91 15:56:28 GMT

In article <9103291744.AA27144@cwns1.INS.CWRU.Edu> aa581@cleveland.Freenet.Edu writes:
>
>In a message from (chrisb@hubcap.clemson.edu (Chris Behrens))
> 
>>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.
> 
>
>Go ahead and create the .BAT file you want to use in whatever 
>subdirectory you wish, then in your AUTOEXEC.BAT have only one line that
>refers to that batch file.  
>
>Example:
>
>(contents of your AUTOEXEC.BAT will look like this)
>c:\batchfiles\newauto
>
>
>In \batchfiles you would have your NEWAUTO.BAT that contains all the
>things your old AUTOEXEC.BAT had.


I used debug to change the name of autoexec.bat and config.sys in the system
files (ibmio and ibmdos). Actually, only one of them needs modification but
I don't remember which one. The only limitation is the new name must contain
the exact same number of charaters. I had changed \autoexec.bat to
\<255>\acadbf.bat and \config.sys to \<255>\cwcc.sys.   The <255> is ascii
value 255. This displays as a space.
I've preformed this change on DOS 3.1 and DOS 4.0 but it's been awhile and
I don't remember any addresses. I just searched for the file names and changed
them. I may have also modified command.com.

Dale Frye
Washington University in St. Louis

