Hi,

I need to build some code to do the following.

Read a directory and all files and all subfolders not matter how deep they go and output this into a database.

e.g. start from a folder say \c\docs\data\

i want to be able to read all folders and files after the above path and output them to the follwing access table.

tblOutput
ID - autonumber
txtFilePath - the actual path of the file e.g. \c\docs\data\
txtFileName - the name of the file including the extension
intFileSize - the size of the file in butes or kilobytes or whatever

Has anyone done this before? and if so can you help me please

thanks