Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Directory listing to table with file attributes size and date

Status
Not open for further replies.

mulligh

Technical User
May 8, 2001
97
0
0
US
Hello all

I want to get a listing of files in a particular directory and turn that into a table in MS Access. I also want to get the lastmodified date of the file and also the filesize. Since the contents of the directory change, I'll need to refresh the table either automatically when the database opens or on demand. It looks like I'll need to use the Windows Script Host Object model reference to get those attributes but I'm not sure how to put this all together. Can someone help me? Thanks.

 
Do a google search for FileSystemObject

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks. I know about FSO, but I was just wondering whether anyone has seen a script that does this. I've found scripts that work in Excel but not Access.
 
Nevermind. I'm withdrawing the question.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top