Article View: comp.sys.ibm.pc.misc
Article #8761Re: Need to change name of AUTOEXEC
From: Miramar
Date: Fri, 29 Mar 1991 16:35
Date: Fri, 29 Mar 1991 16:35
23 lines
1789 bytes
1789 bytes
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.
You can do that by altering COMMAND.COM itself using a binary editor. I
used Norton Utilities' NU.EXE to do it. Edit COMMAND.COM and search for the
string 'AUTOEXEC.BAT' and change it to whatever you want. I try to use names
of the same length as 'AUTOEXEC.BAT' so as not to complicate things. Dunno
about placing it in a sub-directo though. This method isn't very dangerous
if you know what you're doing but there's a always the risk of accidentally
changing a byte somewhere in COMMAND.COM and there might be problems with
programs which looks for AUTOEXEC.BAT.
Eugene...
--
-----/ _ _ \--------------------------------------------------------------------
| o o | Eugene Mok s907396@minyos.xx.rmit.oz.au (Melbourne OZ)
\ ^ / eugene@pogo.ai.mit.edu (USA)
------\ o /---------------------------------------------------------------------
Technical Details
Message-ID:
<1991Mar29.163548.29870@minyos.xx.rmit.oz.au>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!bruce!monu0.cc.monash.edu.au!monu6!minyos.xx.rmit.oz.au!s907396References:
<1991Mar28.190057.3441@hubcap.clemson.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!bruce!monu0.cc.monash.edu.au!monu6!minyos.xx.rmit.oz.au!s907396 From: s907396@minyos.xx.rmit.oz.au (Miramar) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Need to change name of AUTOEXEC Message-ID: <1991Mar29.163548.29870@minyos.xx.rmit.oz.au> Date: 29 Mar 91 16:35:48 GMT References: <1991Mar28.190057.3441@hubcap.clemson.edu> Organization: RMIT Computer Centre, Melbourne Australia. Lines: 23