|Yes, but... Ok you can do that, but what's the point? Mainly, you need to know if the conversion was successful, not the number of files that were submitted for conversion.|
DIR *.TXT | FIND " File(s)" tells you that, but not whether they were converted (successfully). If "convert.exe" changes the filename, path, or extension, you will need to take a census after conversion to see how many were done. If convert.exe returns an errorlevel, then that's another option to see the ending status. So far, you have not indicated any problems with convert.exe not converting a file, so that's what you need to zero in on: identity of any files NOT being converted, not just a count. If there's no problem, then your initial count of .TXT files should suffice.