I need to find just a folder wwwroot in whole disk F , and not files. Only folder. Is that possible by one line in cmd?
Asked
Active
Viewed 392 times
1 Answers
2
Type dir /?
for help.
Dir f:\wwwroot /ad /s

user14797724
- 109
- 1
- 3
-
2If you open a Command Prompt window, type `dir /?`, and press the `[ENTER]` key, you should see all of the usage information for the command. Within it, you should note that you can use the `/B` option to reduce the output to just the fully qualified file name. Additionally you may find that including filters like `-R`, `-H`, -`S` and `-L` may speed up the results too, by ignoring read only, hidden, and system files as well as directory junctions. Example: `Dir F:\wwwroot /A:D-H-L-R-S /B /S`. Even if those `/A` options don't speed it up for you, they're more likely to reduce unwanted matches. – Compo Dec 30 '20 at 03:48