home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.msdos.programmer
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ux4.cso.uiuc.edu!jlamb
- From: jlamb@ux4.cso.uiuc.edu (Jeffrey Richard Lamb)
- Subject: Help on changing Copy
- Message-ID: <Bxn4nE.8IH@news.cso.uiuc.edu>
- Summary: I need some help on the Copy command
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Fri, 13 Nov 1992 05:59:37 GMT
- Keywords: Midnight Arrow
- Lines: 28
-
- Ok, I know this is going to sound like a strange request so I want to
- make some disclaimers first. I am not a virus writer. I don't want
- to kill machines. I'm not trying to write a virus. I made a bet with
- a friend that the copy command (or any other internal dos command)
- could be "turned off." What I want to do is simple. I want dos to access
- a file called "copy.bat" whenever anyone types in a copy command. The
- problem is that dos always checks for internal commands (copy) first,
- so dos never even looks at copy.bat, it just declares invalid number of
- parameters. I'm sure this can be avoided, but how? Again, I know it sounds
- suspicious. I declare again that I'm not writing any virus programs. My
- full name is below. As proof of my good intentions (or non-malicious any-
- way) if you see any new virus programs out that use copy "turn-off" you
- can blame me and send the police after me.
- By the way, the bet with my friend came after an argument of how to
- turn off external commands (rename them, hide then, and replace with a
- file of the same name). Reply by e-mail if that's ok. Thanks in advance.
-
-
- Jeff R. Lamb at University of Illinois (Urbana-Champaign)
-
- e-mail jlamb@ux4.cso.uiuc.edu
- Money can't buy you poverty.
-
- --
- H. Ross Perot | All his life he was surrounded | Jeff R. Lamb
- for President | by people who didn't know what | Midnight Arrow
- of the United | to do, while he had always | Champion of Reality
- States in '96 | known. -Ayn Rand | (jlamb@ux4.cso.uiuc.edu)
-