G
Guest
I need to be able to execute DIR type search commands and get the results
into an Access table.
I downloaded some code from the web that does this via API calls but after
working on it for 2 days can't get it to work in all cases. It works if I
enter drive letters but if I put in any folder it refuses to run. The code is
way too voluminous to post.
So I was wondering if there is any way from VBA to run the DIR command,
redirect the output to a file, then import the file to a table. Is this a
feasible alternative?
into an Access table.
I downloaded some code from the web that does this via API calls but after
working on it for 2 days can't get it to work in all cases. It works if I
enter drive letters but if I put in any folder it refuses to run. The code is
way too voluminous to post.
So I was wondering if there is any way from VBA to run the DIR command,
redirect the output to a file, then import the file to a table. Is this a
feasible alternative?