Here’s how to quickly search for a file from command prompt in Windows:
1. Issue the following command at the command prompt –
dir <drive letter>\ /s /b | find “<file name to be searched>”
In our case, we wanted to search for a file named ‘mdi.chm’ in C: drive, hence we issued the following command –
dir C:\ /s /b | find “mdi.chm”
As you can see from the screenshot, we quickly located the file we wanted. Note that the above search was non-indexed.