Unlock For Us

Faster way to Search files and folders using your command prompt

When you are working on something at your command prompt and suddenly you need to find a file or folder, here’s a way to search your files using your cmd.exe.


Using DIR to search files

DIR myfile*.exe /s

What to do

Make sure that your on the root drive first  before finding files



If the screen is full just add /p option at the end of the command

DIR myfile*.exe /s /p



C:\>dir 021*.mp4 /s
Volume in drive C has no label.
Volume Serial Number is 5CBF-6ECD

Directory of C:\Downloads

07/07/2016  08:01 PM       105,417,367 0218574.mp4
               1 File(s)    105,417,367 bytes

     Total Files Listed:
               1 File(s)    105,417,367 bytes
               0 Dir(s)  113,690,787,840 bytes free



DIR /s command displays files in specified directory and all subdirectories. It quickly find files that you are looking for using command prompt.

That’s it!



© UnlockForUs 2007-2016 | Blogger| Google.com| License Agreement