Author Topic: File List  (Read 2003 times)

bettman

  • Newbie
  • *
  • Posts: 38
File List
« 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.

td

  • Tech Support
  • *****
  • Posts: 3210
    • WinBatch
Re: File List
« Reply #1 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.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade