home *** CD-ROM | disk | FTP | other *** search
- 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
- From: infidel+@pitt.edu (Todd J Derr)
- Newsgroups: comp.os.msdos.programmer
- Subject: Re: A batch programming contest for you
- Message-ID: <4941@blue.cis.pitt.edu.UUCP>
- Date: 19 Aug 92 16:11:13 GMT
- References: <1992Aug18.052017.3758@uwasa.fi> <1992Aug18.213600.27969@cs.ubc.ca>
- Sender: news+@pitt.edu
- Organization: University of Pittsburgh
- Lines: 42
-
- In article <1992Aug18.213600.27969@cs.ubc.ca> yogi@cs.ubc.ca (Yossi Gil) writes:
- >
- >Don't know about useful, but interesting... Well, how about the self
- >printing batch program that I posted to alt.hackers some time ago:
- >
- >SELFPRNT.BAT:
- > Bad command or file name
- >
- >And yet another teaser: The above batch file doesn't self print
- >on 4DOS!
-
- well, it doesn't self-print with COMMAND.COM either... when you "List"
- it:
-
- C:>type selfprnt.bat
- Bad command or file name
- Bad command or file name
- ...
-
- and when you execute it:
-
- C:>selfprnt
-
- C:>Bad command or file name
- Bad command or file name
-
- C:>Bad command or file name
- Bad commmand or file name
-
- close... but you are supposed to get *The Same* output if you "List" it
- or Execute it- and you don't.
-
-
- later,
-
- todd.
-
- --
- todd j. derr - the c.o.m.a. moderator! "i've got nothing to say but
- infidel+@pitt.edu (412) 363-9027 it's ok."
- infidel@pittunix (BIT) work: 648-1247
- if your mail bounces, send it to infidel@unix.cis.pitt.edu. thanks!
-