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)
-   -   "Process Files" needs option to process folders (https://www.kinook.com/Forum/showthread.php?t=1833)

Dave_Novak 06-19-2006 08:15 AM

"Process Files" needs option to process folders
 
It seems as though "Process Files" will always ignore folders in the specified directory unless you use the "Recursively search subfolders" option. Perhaps I’m doing something wrong, but I haven’t found a way of getting this action to recognize folder even at the specified directory level without the recursive flag. And then you end up getting all of the files in those directories as well.

In the system I am trying to build, I have a parent folder which contains a number of direct sub-folders. I would like to simply iterate over just these sub-folders (with a few exclusions), ignore all files, and then do some processing on the current sub-folder (as described by %PROCFILES_FULLPATH%).

How might I do this?

kinook 06-20-2006 11:59 AM

The 'once per folder' option does not currently work with non-recursive processing. This will be supported in the next release.

Dave_Novak 08-07-2006 09:26 AM

I'm not seeing this new behavior in the 6.2 Beta. Is it there? If so, how would I test this behavior?

kinook 08-07-2006 11:20 AM

1 Attachment(s)
It works in our tests. Attached is a sample.

Dave_Novak 08-07-2006 11:34 AM

Yes -- following your example this does seem to be working. The only "surprise" was that I had to check "Process empty folders" to get this to work. I'm not sure why I had to check that (my folders are not empty), but it will not work without that.

Dave_Novak 08-15-2006 10:27 AM

Could someone explain why I need to have "Process empty folders" selected? Why is this necessary in order for things to work?

kinook 08-15-2006 12:02 PM

That's just the way it works. Adding that option doesn't have any harmful effects, and it's fairly unusual to use the dir-only non-recursive combination, so we didn't think it mattered much.

Dave_Novak 08-15-2006 01:17 PM

Fair enough -- just be sure to document this behavior

kinook 08-15-2006 04:37 PM

This is now handled properly in the latest beta build.

Dave_Novak 08-16-2006 09:10 AM

Correct -- according to my tests with the latest Beta, you no longer need to check the "Process empty folders" option to get things to work as expected.

Thanks for fixing this.


All times are GMT -5. The time now is 10:36 AM.


Copyright © 1999-2023 Kinook Software, Inc.