Search a folder with command without knowing the path.
We have a search in Windows Explorer, but there are times when the drive size is huge and search may not be quick due to issues with indexing.
In these cases, we can use command prompt from every root of drive and search or find for the required folder very quick.
Syntax:
dir
Ex: C:\> Dir Apache /AD /s
Note: Make sure you execute the command from root level/top level (Ex: c:\)
/A- Displays files with specified attributes. D-May the attribute be Directories /s – Displays files in specified directory and all subdirectories.
Thanks,
WintelAdmin
Facebook Comments