@ECHO OFF ::::::::::::::::::::::: :: CheckAllNS1.bat :: - Using CheckNS1.exe will check all NS1 files in current directory :: :: By Israel Torres :: http://tools.israeltorres.org :: Feb 23 2006 ::::::::::::::::::::::::::::::::::: prompt $g IF NOT EXIST checkNS1.exe GOTO FNF_CNS1 FOR /R %%A IN (*.ns1) DO checkNS1.exe -s %%~nxA GOTO CANS1_END :FNF_CNS1 ECHO checkNS1.exe not found - make sure it is either in current directory or path. :CANS1_END PAUSE