DirectoryList.mdb (intermediate)

Please consider donating $1 per sample downloaded, find out why here
Access 97 (43 KB)

This sample shows how to "role your own" directory/file list.

It uses the Shell() function to run a DOS DIR command and pipe it to a text file. Then imports the text file into a table. It does it first with the Directories under a drive and then with the file under the directory.

See the code behind the form for details.

Also check out the Modules for other applications of this technique.




Need Winzip?

Return to Main Page