Thread View: alt.msdos.programmer
3 messages
3 total messages
Started by Jeffrey Richard Lamb
Tue, 17 Nov 1992 05:45
Thanks, and another question.
Author: Jeffrey Richard Lamb
Date: Tue, 17 Nov 1992 05:45
Date: Tue, 17 Nov 1992 05:45
22 lines
1599 bytes
1599 bytes
Thanks to everyone who helped with my last question (disable dos). I had a great time with my friend. I disabled copy, del, dir, etc. I ren a lot of the external commands and replaced all these with a file a wrote that displayed random messages like, "Error!", "Bad command or file name." etc. My friend got truely frustrated. It was great. (Of course I fixed his system once I'd had my fun (and won the bet)). 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 direct me to a book. Any other ideas would be appreciated. Usual disclaimers. -- H. Ross Perot | "How do you always manage to | Jeff R. Lamb for President | decide?" | Midnight Arrow of the United | "How do you let others decide | Champion of Reality States in '96 | for you?" -Ayn Rand | (jlamb@ux4.cso.uiuc.edu)
Re: Thanks, and another question.
Author: David A. Besancon
Date: Tue, 17 Nov 1992 08:22
Date: Tue, 17 Nov 1992 08:22
16 lines
1261 bytes
1261 bytes
I would have autoexec call a batch file say: \
note that is chr(255) \ chr(255)
while dos does not like a space in a file name (although B.A.S.I.C. will allow
it) alt 255 is not considered a space (obviously since 32 is the code for that)
by the way you may enter the any character by its code by holding down the alt
key and typing its code on The NUMERICAL key pad.
(this should shak him up pretty good, as I have done it several times before.
)
--
David Anthony Besancon |-- BitNet: BESANCON@USMCP6.BITNET
University of Southern MS |-1 InterNet: dab3@ra.msstate.edu
OR: |-2 InterNet: besancon@seabass.st.usm.edu
Mississippi State University |-3 InterNet: besancon@eagle.st.usm.edu
Re: Thanks, and another question.
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads