According to Wikipedia it is indeed cheating:
http://en.wikipedia.org/wiki/Quine_(computing)
Thanks to DigitalSnow answering this on another thread
Search found 4 matches
- 03 Oct 2013 14:56
- Forum: DOS Batch Forum
- Topic: A quine?
- Replies: 3
- Views: 4050
- 03 Oct 2013 14:55
- Forum: DOS Batch Forum
- Topic: Batch quine
- Replies: 2
- Views: 4064
Re: Batch quine
I had previously brought up the issue but it went unanswered. Good answer.
viewtopic.php?f=3&t=3802&p=20333&hilit=quine#p20333
viewtopic.php?f=3&t=3802&p=20333&hilit=quine#p20333
- 25 Sep 2012 01:20
- Forum: DOS Batch Forum
- Topic: A quine?
- Replies: 3
- Views: 4050
Re: A quine?
Sure. But if you type the full name of the batch file this works. Apparently it is okay to specify how the batch file should be called, judging by the quine page. Also judging by that page, brevity matters. If robustness is a goal you could do this:
Code: Select all
@type "%~dfx0"
- 25 Sep 2012 00:04
- Forum: DOS Batch Forum
- Topic: A quine?
- Replies: 3
- Views: 4050