## Creating a List of Files

On UNIX here are a couple ways to create such a file:

- Use the ‘ls’ command, as in:

    ls *.c *.h > my_project.lst

- Use the ‘find’ command to recurse sub-directories, as in:

    find . -name “*.c *.h” -print > my_project.lst

In a Windows command shell:

- Use the dir command with the /b option:

    dir /b *.c *.h > my_project.lst

- Use the /s option to recurse sub-directories, as in:

    dir /b /s *.c *.h > my_project.lst

Scientific Toolworks, Inc. http://www.scitools.com