I tried to put commands that return output into batch file. When I run the batch file it executes the command over and over until I cancel with CTRL+C.
I observed this behavior in Windows CE, Windows XP, Windows 7 and Server 2003. At first I thought I made a mistake with LDIFDE but the same thing goes for PING.
Is there something I missed with batch scripting?
The file contains one line:
ping google.com