Background
I am searching a large directory for files with certian strings of characters in their names. I only want to know if the files exsist in said directory.
Problem Description
Right now I am inputing the following code into windows 7 cmd prompt
dir T162511*.dwg /s /b >> searchresults.txt 2>>&1
T162511.dwg is not found and the phrase "File Not Found" is inputted to a text file, also if you notice I am putting the found file with similar name's path of the files location in the text file as well provided that it was found.
Question
How can I get cmd prompt to output [Drive:]/Path/FileName.dwg and "File Not Found" to a text file in one line?