Article View: alt.msdos.programmer
Article #763Re: Thanks, and another question.
From: Bill Moeur
Date: Tue, 17 Nov 1992 16:18
Date: Tue, 17 Nov 1992 16:18
26 lines
1315 bytes
1315 bytes
In article <BxuInv.Lwp@news.cso.uiuc.edu> jlamb@ux4.cso.uiuc.edu (Jeffrey Richard Lamb) writes:
>
>I have another question: Where are good places to put things you want
>called every time the computer is turned on? Autoexec is kinda obvious.
>Command.com is going to be the first place he'll look (same friend, no
>bet this time). I was thinking of msdos.sys, but I have no idea how to
>add something to it. I realize this is complex, so mayby you could just
I've done this before. Again it requires patching your COMMAND.COM. Using
DEBUG, search for the string AUTOEXEC.BAT and replace it with your own batch
file, something like TEMPEXEC.BAT. Write and quit DEBUG.
Next create your file. Something like this:
@ECHO OFF
...
your stuff goes here.
...
\AUTOEXEC
Now hide the file using ATTRIB TEMPEXEC.BAT +h
He should have a hard time finding your changes.
Have fun
Bill
Technical Details
Message-ID:
<tkkqzwg@lynx.unm.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!umn.edu!lynx!chtm.eece.unm.edu!moeurReferences:
<BxuInv.Lwp@news.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!umn.edu!lynx!chtm.eece.unm.edu!moeur From: moeur@chtm.eece.unm.edu (Bill Moeur) Subject: Re: Thanks, and another question. Message-ID: <tkkqzwg@lynx.unm.edu> Date: Tue, 17 Nov 92 16:18:33 GMT Organization: University of New Mexico, Albuquerque References: <BxuInv.Lwp@news.cso.uiuc.edu> Lines: 28