WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: bettman on September 08, 2015, 10:23:40 AM

Title: File List
Post by: bettman on September 08, 2015, 10:23:40 AM
Greetings,

Is there a function that lists all files under a given directory including any subdirectories? Fileitemize appears to only address the current directory.

Thank you.
Title: Re: File List
Post by: td on September 08, 2015, 10:37:13 AM
Multiple ways to get the folders to go along with the files under a specific folder.  The first two that come to mind are you can use DirItemize to get the folders under a specified folder and add the result to the file list or you could use the FAF extender functions to write your own UDF to obtain both files and folders.