First File (Repost)

captnk

Registered User.
Local time
Today, 18:15
Joined
Dec 12, 2001
Messages
148
Sorry for the repost but maybe I didnt make the situation clear,so obviously i didnt get an answer,and i need to resolve this.
Simply what i want to do is

From a directory with multiple files where a number is the only seperate identifier eg
abcd88.lzh,abcd95.lzh,etc
I want to "Get" a file move it to a new directory (Where I will extract the data i want),move it to a holding directory,then go back and "Get" another file.
Currently I shell to a bat file and use abcd* to extract ,but that of course gets all the files.
Is their a way to call the files singly by the number or other method

The reason I need to extract singly is that each folder has a sub directory of the same name,so I cant extract that sub directory if i get more than 1 file at a time
 
Look up the MoveFile method in VBA help. You can set the source name from a variable that you can manipulate using whatever means.
 

Users who are viewing this thread

Back
Top Bottom