Jump to content
Sign in to follow this  
fraudh8er

Directory Manipulation

Recommended Posts

fraudh8er

I am wondering how to do the following:

lets say I have 100 folders in a folder. each of these 100 folders have a different amount of stuff in them, some have other folder, etc etc. I need to some how get out of a script how many of these folders have more than one folder in them. Then i would need some sort of report or something saying the name of the parent and subfolder and how many folders are in it.

other things like the total size of the items in the folder would be great, but honestly i could do without.

I am reading threw the help files trying to figure it out on my own, but havent really gotten any where yet.

thanks all you guys

V

"Dont mind the Spelling!"

Share this post


Link to post
Share on other sites
ioliver

This might not be what you're looking for, but you can always usee the Tree command. At a command line type 'tree /f /a > c:\tree.txt'. That will give you a report of all the folders and files in the current directory.

Ian


"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

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
Sign in to follow this  

×

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.