FileNames

WMA link


FileNames[]

Returns a list with the filenames in the current working folder.

FileNames[form]

Returns a list with the filenames in the current working folder that matches with form.

FileNames[{$form_1$, $form_2$, ...}]

Returns a list with the filenames in the current working folder that matches with one of $form_1$, $form_2$, ....

FileNames[{$form_1$, $form_2$, ...},{$dir_1$, $dir_2$, ...}]

Looks into the directories $dir_1$, $dir_2$, ....

FileNames[{$form_1$, $form_2$, ...},{$dir_1$, $dir_2$, ...}]

Looks into the directories $dir_1$, $dir_2$, ....

FileNames[{forms, dirs, n]

Look for files up to the level n.

FileNameTake
FindFile