How to search for File(s) on your Windows computer using command line (cmd)
Hello Windows Admin. In this video we will learn about how to use dir /S command from your command line or cmd to search for File(s) on your Windows computer.
On the first part of the video we will search specific file. On the second part of the video we will search group of files, for instances all the mkv files.
The reason you need to learn this method, is because it is faster than using GUI.
You know, you can also search for File(s) using GUI, but it usually takes longer time compared to not using GUI. So, in this video we will learn only using the cmd (the preferred and the fastest one).
In this video you also learn about how to use two types of wildcard: * (asterix) and ? (question mark) in the filename. Like: dir /S *.mkv or dir P*.mkv to search all files that have mkv extension, and to search file that the name started with P character and have mkv extension on it and some other stuff.
So the algorithm was:
1. cd c:\
2. dir /S your-filename.something
P. S. : When the output or the result of the command dir /S *.mkv is to verbose, you can use dir /S /B *.mkv (just add /B between the /S and the Target filename).
You can even save the output of the search to a file, using this command: dir /S *.mkv "greater sign" name_of_your_file.txt
If you like this video, don't forget to subscribe.
Question:
1. How can you display all the location of the JPEG files on the C:\Users\ folder?
2. How can you display all the location of the JPEG files on the C:\Users\ folder and its sub directories?