Put this code in your button's Click event procedure:
(You might want to declare the variables, which is something I haven't done in this example)
Code:
DoCmd.SetWarnings False
Set fso = CreateObject("Scripting.FileSystemObject")
Set folderObject = fso.GetFolder("C:\Some\Directory")
Set filesObject = folderObject.Files
For Each file In filesObject
DoCmd.RunSQL "INSERT INTO YourTable (YourField) VALUES ('" & file.Name & "');"
Next
DoCmd.SetWarnings True
Of course - you'll need to change the bits
C:\Some\Directory
YourTable
YourField
Steven
I am a loud man with a very large hat. This means I am in charge