File Enumerator

Enumerate the files in a specified folder and output the paths to a .csv file

FOLDER

Click the "PICK" button or use the %FILENAME% variable to specify the folder.

Input Array

Each element in the input array represents the pathname of a file within a specified folder.

// Print the pathname of each file within the specified folder
input.forEach((filepath) => console.log(filepath))

Output Array

Each file path in the output array will be used to generate a .csv file.

// Create a CSV table containing the pathnames of all the .txt file in the specified folder
input.forEach((filepath) => {
  if (filepath.endsWith('txt')) output.push(filepath)
})

--

We are dedicated to improving our content. Please let us know if you come across any errors, including spelling, grammar, or other mistakes, as your feedback is valuable to us! 🤖️⚡️

Last updated