04-06-2014 07:21 PM
I have about 2000 subfolders, all named "subfolderXYZ", in a file structure. I want to find the paths to all those subfolders, and then I will find the path of file with latest timestamp in these subfolders. Is there a VI out there that I can use, or should I start writing the VI? Anything similiar to get me started would be nice. Thanks!
04-06-2014 08:22 PM
Recursive File List
04-08-2014 03:00 PM
I plan to use that vi. I was just wondering is there anything out there there is already made. I guess I will start coding.
04-08-2014 03:04 PM
Also, that VI takes a over a min to run on my file structure.
04-08-2014 03:18 PM
04-08-2014 03:41 PM
@jyang72211 wrote:
I plan to use that vi. I was just wondering is there anything out there there is already made. I guess I will start coding.
That VI IS "already made"!
04-08-2014 03:44 PM
@jyang72211 wrote:
Also, that VI takes a over a min to run on my file structure.
How long does it take to manually traverse all files and folders in Windows Explorer?
The VI is already made and it is open so you can save a copy of the recursive file list VI somewhere else, then modify it to improve speed. There maybe features you don't need and can remove to improve speed. It didn't sound like you cared about the files so keeping a huge array of all the files found might not be needed and removing it could improve performance.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord