After you get used to Windows operations, open "File Manager" every time you search for a file, and wait until the search is complete. In addition to this GUI, we can perform faster search under the command line. Because it is under the command line, you only need to enter a few words to start searching. In addition, the startup command line does not need to load additional interface resources, and the startup speed is very fast, so it is much more comfortable to use.
The procedure is as follows:
1. Windows key + R
2. Enter cmd to enter the Windows command prompt.
(I directly put a VS 2005 shortcut in the Quick Start column, see)
3. Enter the target location to search
C:
CD windows
4. Use DIR/s to search for the current directory and Its subfolders
Dir *. jpg/s
If there are many results, you can use the more command to split the screen.
Dir *. jpg/S | more
Or redirect to the file and open it in notepad.
Dir *. jpg/S> jpgsearch.txt
Notepad jpgsearch.txt
Similarly, you can search for strings in a file:
Findstr/N/S "<iostream>" *. cpp
This command is used to search for the c ++ source in the current directory and Its subdirectories.ProgramFile to match the string <iostream> and display the matched file name and row number.
In addition, I learned from my colleagues that I can start a file manager under the command line and use the current directory as its starting directory:
Start.
(Note that there is a following point, which is the starting DIRECTORY parameter)