Jump to content

Getting a list of folder names


Happy Face
 Share

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.

Link to comment
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
Link to comment
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
Link to comment
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?

Link to comment
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.

Link to comment
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.

Link to comment
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
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.