Jeff,
The Dir function is what is provided but you will have to use it recursively
in order to directory everything. I have an Access app I developed that
will do this that uses API call almost exclusively (the goal was to make it
as quick as possible and prtable to any PC running Win95 or greater.) If
you are interested in taking a look at this as an example send me an email
and I will email it to you.
Eric
"J Miller" <jmiller@*nospam*pcsdps.org> wrote in message
news:becvi1$i63$0@162.126.212.15...
| I would like to load a table with the complete pathnames of all the
| files, folders and subfolders from c:\.
|
| I have looked at the DIR command in Access VB but that does not allow
| me to use something like the old DOS "DIR c:\*.* /s" command would do.
|
| I have pondered shelling out to that command and creating a text file
| and then loading that file into my table but that just doesn't seem
| like the proper way to do it.
|
| Can anyone share any code they have to accomplish this, or point me to
| a web site that can help?
|
| Thanks a lot!
|
|
| Jeff
|