Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Looping through folders (https://www.kinook.com/Forum/showthread.php?t=910)

SpartanHokie 02-18-2005 07:40 AM

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

kinook 02-18-2005 11:55 AM

1 Attachment(s)
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.


All times are GMT -5. The time now is 10:02 PM.


Copyright © 1999-2023 Kinook Software, Inc.