Read out file names of a folder (Mac & PC)

In order to be able to quickly put together multiple file names for a .txt import of images for TrakEM2 (without typing all file names) for example, the two following processes can be used.

On a Mac:

mark all files in the folder, right click & copy and paste it to a .txt file or data table.

On a Windows PC:

A) locate the folder with the files for which you need the file list.

B) Hold the “Shift” key, right-click the folder and select “Open Command Window Here.”

C) Type “dir /b > filelist.txt” without quotes (Notice the blank spaces between the letters!) and press “Enter.”

This creates a list called filelist.txt in the same folder as your images.