BATCH FILE SHOWING THE USAGE OF FOR COMMAND.
@echo off CLS REM IF AND IF REM NOT HELPS TO SEE WORKING OF FOR COMMAND. REM BATCH FILE STARTS.............. ECHO FOR COMMAND EXCUTES A STATMENT IN A LOOP. FOR %%A IN (. . . . .) DO ECHO DAPS