-1

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?

JaneFarrow
  • 101
  • 2
  • 10

1 Answers1

2

Type dir /? for help.

Dir f:\wwwroot /ad /s
user14797724
  • 109
  • 1
  • 3
  • 2
    If 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