Search found 4 matches

by spatters
03 Oct 2013 14:56
Forum: DOS Batch Forum
Topic: A quine?
Replies: 3
Views: 4050

Re: A quine?

According to Wikipedia it is indeed cheating:

http://en.wikipedia.org/wiki/Quine_(computing)

Thanks to DigitalSnow answering this on another thread
by spatters
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
by spatters
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"
by spatters
25 Sep 2012 00:04
Forum: DOS Batch Forum
Topic: A quine?
Replies: 3
Views: 4050

A quine?

Is this cheating?:

Code: Select all

@type %0