Link to home
Start Free TrialLog in
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
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of garethtnash

ASKER

Thank you both