PC Review


Reply
Thread Tools Rate Thread

Re: getting complete path information with DIR

 
 
Eric J. Williams
Guest
Posts: n/a
 
      8th Jul 2003
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
added path to path dir but exe does not work Hassan Windows XP General 2 24th Feb 2006 09:17 AM
dir *0 --- dir *2 eric_stewart@adp.com Windows XP General 2 3rd Mar 2004 05:58 PM
Dir Copy (please help),entire dir copy aynka2000 siva Microsoft Dot NET 1 17th Dec 2003 09:47 PM
Copy worksheet from multiple files in one DIR to another DIR & rename Mike Taylor Microsoft Excel Programming 1 13th Jul 2003 03:28 PM
Re: getting complete path information with DIR Albert D. Kallal Microsoft Access Form Coding 0 8th Jul 2003 12:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:47 PM.