Jump to content

program for getting folder sizes


Recommended Posts

hi there

I'm trying to figure out how to do this:

I've lots of folders that i want to copy to dvd's.

is there a program that would take those folder's sizes' and find the best match to fit into dvd's?

if there is nothing like that how'd one go about doing such a thing?

better explanation

I've folders like

folder 1: 1.5gb

folder 2: 3.1gb

folder 3: 800mb

etc...

now i cannot put folder 1 & 2 into the same dvd obviously bc it exceeds 4.488mb

so another folder must be replaced with it.

hope u get the picture

TIA

this would solve many problems that I have pls pls help

how would the logical setup of this program would look like? I cannot think straight right now thus couldn't picture how i'd set this thing up in my mind

Thanks!!!

Link to comment
Share on other sites

  • 1 month later...

hhmm,

looks like just starting with the biggest and then work your way down,

so fist sort

400

300

200

100

50

50

20

hmm, could be something like this

400 OK -> take of the list put on stack

next

300 (400 on stack + 300 = 700 ) 640 - 700 = negative so let it on list

next

200 (400 + 200 = Pos) put on stack

etc.

till 20

then write the CD (400 + 200 + 20)

list is now

300

100

50

50

then start again till list is empty

next part would be to get a level option (2 dirs deep)

if your doing it in VB.net or vbscript i'v got the recursive folder size part

maybe if i'v got time I will make one.

gr /\/\o\/\/

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
  • Recently Browsing   0 members

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