Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-05-2007, 03:45 PM
lherz lherz is online now
Registered User
 
Join Date: 07-21-2005
Posts: 15
Calculate Dir tree size for DVD Burn

I am sure that I am simply overlooking something obvious, but I am trying to archive some data to DVD and want to be able to traverse a folder structure and create a DVD archive of the data.

The tree has multiple folders, many with one or more sub folders.

I am trying to determine when to stop processing and burn the files to disc, then continue. I have tried simply storing the path to each file in a variable in a vbscript, then adding the var to a Macro that the burn step uses, but since there are many small files and many directories, the string gets too long.

I thought that there should be a simple way to traverse a folder tree, storing folder names as long as the total content of the folder list was less than a pre-defined size (DVD for example) and upon reaching a folder whose contents extend beyond that boundary, include only the files in that particular folder that will not exceed the boundary when added to the folders already in the list, but have not been able to find it.

Any assistanvce would be greatly appreciated.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:11 PM.


Copyright © 1999-2023 Kinook Software, Inc.