home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8628 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.4 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!darwin.sura.net!wupost!sdd.hp.com!usc!zaphod.mps.ohio-state.edu!pitt.edu!infidel
  2. From: infidel+@pitt.edu (Todd J Derr)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: A batch programming contest for you
  5. Message-ID: <4941@blue.cis.pitt.edu.UUCP>
  6. Date: 19 Aug 92 16:11:13 GMT
  7. References: <1992Aug18.052017.3758@uwasa.fi> <1992Aug18.213600.27969@cs.ubc.ca>
  8. Sender: news+@pitt.edu
  9. Organization: University of Pittsburgh
  10. Lines: 42
  11.  
  12. In article <1992Aug18.213600.27969@cs.ubc.ca> yogi@cs.ubc.ca (Yossi Gil) writes:
  13. >
  14. >Don't know about useful, but interesting... Well, how about the self
  15. >printing batch program that I posted to alt.hackers some time ago:
  16. >
  17. >SELFPRNT.BAT:
  18. >    Bad command or file name
  19. >
  20. >And yet another teaser: The above batch file doesn't self print
  21. >on 4DOS! 
  22.  
  23. well, it doesn't self-print with COMMAND.COM either...  when you "List"
  24. it:
  25.  
  26. C:>type selfprnt.bat
  27. Bad command or file name
  28. Bad command or file name
  29. ...
  30.  
  31. and when you execute it:
  32.  
  33. C:>selfprnt
  34.  
  35. C:>Bad command or file name
  36. Bad command or file name
  37.  
  38. C:>Bad command or file name
  39. Bad commmand or file name
  40.  
  41. close...  but you are supposed to get *The Same* output if you "List" it
  42. or Execute it- and you don't.
  43.  
  44.  
  45. later,
  46.  
  47. todd.
  48.  
  49. -- 
  50. todd j. derr - the c.o.m.a. moderator!  "i've got nothing to say but
  51. infidel+@pitt.edu       (412) 363-9027   it's ok."
  52. infidel@pittunix (BIT)  work: 648-1247 
  53. if your mail bounces, send it to infidel@unix.cis.pitt.edu.  thanks!
  54.