There is a list of document saved in a folder, I need to save the file name along with its path in a plain text file, such as
/document/file1.txt
/document/file2.txt
...
My question is how to iterate through a file folder and extract the path information for each file. Thanks.