How to search for File(s) on your Windows computer using command line (cmd)

Subscribers:
613
Published on ● Video Link: https://www.youtube.com/watch?v=Uwvh_ZOsPnU



Category:
Guide
Duration: 10:32
95 views
1


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?




Other Videos By Computertechlighthouse


2020-03-28I make Matrix the movie intro like using Small Basic
2020-03-26How to troubleshoot Python IDLE can't run or F5 file (IDLE's subprocess didn't make connection)
2020-03-14Batch Language: Extracting a substring from a string!
2020-03-13Audacity Tutorial: Silencing, DTMFing, Noising, etc. your song part!
2020-03-09Cisco Packet Tracer Activity 5.5.1 Explaination Part 1
2020-03-09Cisco Packet Tracer Activity 5.5.1 Explaination Part 2
2020-03-08Cisco Packet Tracer LAB 5.5.2: Router Segment Broadcast Domains
2020-03-05FOR /F can't use multiple commands and how to solve it
2020-03-04How to ping a range of IP addresses using Windows BATCH FOR /L command
2020-03-02How to run powershell script (.ps1) for the first time (How to fix SecurityError)
2020-03-01How to search for File(s) on your Windows computer using command line (cmd)
2020-02-26How to set a network interface IP address using netsh subcommands
2020-02-26How to rename a network interface using netsh interface subcommand
2020-02-26How to disable and enable a network interface quickly using netsh subcommand
2020-02-26How to use netsh interface command to determine all of or one of your interface IP address quickly
2020-02-03How to play Donkey Kong 64 with Project64 (a Nintendo Emulator) [Easy]
2020-01-25Asus Zenfone Troubleshooting can't finished bootup forever / freezing
2018-06-25How to instal font from google font on windows 7
2018-06-24Microsoft Access Tutorial 6 : Exporting Microsoft Access Table to Microsoft Excel
2018-06-24Microsoft Access Tutorial 5: Filling data
2018-06-24Microsoft Access Tutorial 4: Delete Field, creating a new field & assign its data type as Autonumber



Tags:
Windows Administration
Dir /S
How to search File
Search File
Search File on Windows
CMD command
CMD