@echo off cls echo Bryce's Setieasy Signal Counting Batch File echo ___________________________________________ rem for use with data files created by Setieasy rem rem Load this file in the same subdirectory as your rem Setieasy output files. Run this batch program from the dos rem prompt by typing the name of the program and the name rem of the data file you want to examine for unusual signals. rem The program will count the number of unusual signals in the rem selected file. rem rem To run the file, get tot he DOS prompt and type rem something like this: count outfile.txt rem if not exist %1 goto nofile echo The number of unusual signals found is find /c "Unusual signal detected" %1 goto end : nofile echo I cannot find the file called %1 echo Make sure that you spelled the file name correctly echo and that the file does indeed exist in this directory. goto end : end echo on