get the first file

captnk

Registered User.
Local time
Today, 07:58
Joined
Dec 12, 2001
Messages
148
I currently have some looping vb code that extracts selected lzh files from multiple parent files,using lha or lhark
These are relatively easy as the parent files and sub directory files have individual file names eg: abcd1505 (filename/date)
However buried 2 further directories down in the parent file is some other data I now want to extract,but in each parent file this subdirectory has the SAME SINGLE NAME.
So whilst from multiple parent files I can get down and extract the first multiple sub directories,when I come up againt this single name directory I can only get the 1 file.
So my current line of thinking is to somehow select the FIRST parent file only,extract this single name file,get its sub file( each of which has individual file names),then move it out of the way (to another directory),then select the next parent file and so on
However thats where I have the problem...How to select the First parent file only ...massage it ,move it and loop back to get the next parent file.
Any ideas how I can code to get Access to do 1 parent file at a time please
 

Users who are viewing this thread

Back
Top Bottom