Jump to content

Directory Manipulation


Recommended Posts

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!"

Link to comment
Share on other sites

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...