Newsgroups: comp.sys.ibm.pc.misc
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!rodan.acs.syr.edu!amichiel
From: amichiel@rodan.acs.syr.edu (Allen J Michielsen)
Subject: Re: Need to change name of AUTOEXEC
Message-ID: <1991Mar30.220107.6276@rodan.acs.syr.edu>
Sender: amichiel@sunrise.acs.syr.edu
Organization: Syracuse University, Syracuse, NY
References: <1991Mar28.190057.3441@hubcap.clemson.edu> <1991Mar29.163548.29870@minyos.xx.rmit.oz.au>
Date: Sat, 30 Mar 91 22:01:07 GMT

In article <1991Mar29.163548.29870@minyos.xx.rmit.oz.au> s907396@minyos.xx.rmit.oz.au (Miramar) writes:
>chrisb@hubcap.clemson.edu (Chris Behrens) writes:
>>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. 
>
>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.

   This is exactlt right.  You can put it anywhere and call it anything, but
probably NOBODY should try changing the length of the string used. so: command.
com has the string  autoexec.bat in it, so if you use something like
\hide\at.bat this will work just fine....

al


-- 
Al. Michielsen, Mechanical & Aerospace Engineering, Syracuse University
 InterNet: amichiel@rodan.acs.syr.edu  amichiel@sunrise.acs.syr.edu
 Bitnet: AMICHIEL@SUNRISE 
