Avatar of garethtnash
garethtnashFlag for United Kingdom of Great Britain and Northern Ireland asked on

CMD OutPut Directory Structure - No Files

Hello,

I'm attempting to use command prompt to output a directory structure -

I've been using

DIR T:\ /S /B /O:GN

Which gives me absolutely everything.

But I don't want to include the files within the directories in the output. I just want the structure of the directory tree.

Is there anyway of doing this in command prompt?

The above generates 60,000 rows, I'd imagine removing the files from the directory tree, would have a massive impact - 500 - 1000 directories.

Thanks
Windows Server 2003Windows Server 2008Windows OS

Avatar of undefined
Last Comment
garethtnash

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
oBdA

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Miguel Angel Perez Muñoz

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
garethtnash

Thank you both
Your help has saved me hundreds of hours of internet surfing.
fblack61