home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / msdos / programm / 2725 < prev    next >
Encoding:
Text File  |  1992-11-13  |  2.0 KB  |  41 lines

  1. Newsgroups: alt.msdos.programmer
  2. 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
  3. From: jlamb@ux4.cso.uiuc.edu (Jeffrey Richard Lamb)
  4. Subject: Help on changing Copy
  5. Message-ID: <Bxn4nE.8IH@news.cso.uiuc.edu>
  6. Summary: I need some help on the Copy command
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Fri, 13 Nov 1992 05:59:37 GMT
  10. Keywords: Midnight Arrow
  11. Lines: 28
  12.  
  13. Ok, I know this is going to sound like a strange request so I want to
  14. make some disclaimers first. I am not a virus writer. I don't want
  15. to kill machines. I'm not trying to write a virus. I made a bet with
  16. a friend that the copy command (or any other internal dos command)
  17. could be "turned off." What I want to do is simple. I want dos to access
  18. a file called "copy.bat" whenever anyone types in a copy command. The
  19. problem is that dos always checks for internal commands (copy) first,
  20. so dos never even looks at copy.bat, it just declares invalid number of
  21. parameters. I'm sure this can be avoided, but how? Again, I know it sounds
  22. suspicious. I declare again that I'm not writing any virus programs. My
  23. full name is below. As proof of my good intentions (or non-malicious any-
  24. way) if you see any new virus programs out that use copy "turn-off" you
  25. can blame me and send the police after me. 
  26. By the way, the bet with my friend came after an argument of how to
  27. turn off external commands (rename them, hide then, and replace with a
  28. file of the same name). Reply by e-mail if that's ok. Thanks in advance.
  29.  
  30.  
  31. Jeff R. Lamb at University of Illinois (Urbana-Champaign)
  32.  
  33. e-mail jlamb@ux4.cso.uiuc.edu
  34.                     Money can't buy you poverty.
  35.  
  36. -- 
  37. H. Ross Perot | All his life he was surrounded  | Jeff R. Lamb
  38. for President | by people who didn't know what  | Midnight Arrow
  39. of the United | to do, while he had always      | Champion of Reality
  40. States in '96 | known.            -Ayn Rand     | (jlamb@ux4.cso.uiuc.edu)
  41.