Jump to content
Happy Face

Getting a list of folder names

Recommended Posts

I need help from you technical boffins.

 

If I've got a folder that contains a few thousand sub-folders, and I need a list of those folder names in text. How can I get it?

 

Please say I don't have to write out every folder name individually.

 

Ta.

Share this post


Link to post
Share on other sites
I need help from you technical boffins.

 

If I've got a folder that contains a few thousand sub-folders, and I need a list of those folder names in text.  How can I get it?

 

Please say I don't have to write out every folder name individually.

 

Ta.

145952[/snapback]

 

piece of piss in Unix

 

:lol:

 

Im sure theres an equivalent command in dos and then output the listing to a text file rather than the screen.

Edited by luckypierre

Share this post


Link to post
Share on other sites

something like

 

dir /s /w /ad > myfolders.txt

 

it wont quite be in the format you want but then its easy enough to import it into excel, fiddle with it and save it as you want

Edited by luckypierre

Share this post


Link to post
Share on other sites
something like

 

dir /s /w /ad > myfolders.txt

 

it wont quite be in the format you want but then its easy enough to import it into excel, fiddle with it and save it as you want

145968[/snapback]

 

Cheers. Got it now. Just copied and pasted from command prompt. :blink:

 

treesize

145973[/snapback]

 

:lol:

 

wazatmean?

Share this post


Link to post
Share on other sites

Use Windows explorer, press the windows key and E at the same time and it will magically appear.

 

If you explore your folders using that and you will get them listed in text form in the address bar at the top.

Share this post


Link to post
Share on other sites
something like

 

dir /s /w /ad > myfolders.txt

 

it wont quite be in the format you want but then its easy enough to import it into excel, fiddle with it and save it as you want

145968[/snapback]

 

Cheers. Got it now. Just copied and pasted from command prompt. :blink:

 

treesize

145973[/snapback]

 

:lol:

 

wazatmean?

145978[/snapback]

 

Do a google search for treesize. It's a tool which does this job for you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Recent tweets

Toontastic Facebook

Donate to Toontastic

Keeping the lights on since... well ages ago
TT-Staff


×