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
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of garethtnash
garethtnash
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

Thank you both
Windows Server 2003
Windows Server 2003

Windows Server 2003 was based on Windows XP and was released in four editions: Web, Standard, Enterprise and Datacenter. It also had derivative versions for clusters, storage and Microsoft’s Small Business Server. Important upgrades included integrating Internet Information Services (IIS), improvements to Active Directory (AD) and Group Policy (GP), and the migration to Automated System Recovery (ASR).

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo