The shortest infinitely repeating "Hello, world!" program in DOS batch file is:
%0 
however, the batch file itself must be called "Hello, World!.bat". This only works in windows shell and has to be called with "Hello, World!" (including quotation marks).

submitted by: Edgar Glavas