@ECHO OFF ECHO This example batch file uses the FOR command. ECHO It will list files beginning with letters A, B and C. PAUSE @ECHO ON FOR %%f IN (a b c) DO dir %%f