Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-18-2005, 08:40 AM
SpartanHokie SpartanHokie is online now
Registered User
 
Join Date: 07-28-2004
Posts: 19
Question Looping through folders

Given a path, I want to loop through only the child folders of this path. I have tried a bunch of different combinations and I seem to keep getting every folder underneath the path (childrens folders and so forth). Is there a way to just loop through the folders in a path without recursing into the child folders? TIA

SpartanHokie
Reply With Quote
  #2  
Old 02-18-2005, 12:55 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Not built-in (the Process Files action's 'Process once for each folder containing matching files' option only applies when recursively processing subfolders [if it did process the immediate child folders with recursive unchecked, you could use it, and we'll see about supporting this in the future]).

Attached is a sample showing how to do this using script and a repeating build rule.
Attached Files
File Type: bld folders.bld (1.9 KB, 1661 views)
Reply With Quote
Reply


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 02:42 AM.


Copyright © 1999-2023 Kinook Software, Inc.