Login | |
|
 |
RE: Can anyone help me at all? - 4/24/2006 1:13:20 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: offline
|
Here is how I would do it: 1) Iterate through all the files in the source folder. 2) Use the .FileExists method of the FileSystemObject to determine if the file is already in the target folder 3) If it is, check for each of the variant names a-e and copy it with the first available variant name 4) If it does not, just copy it.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Can anyone help me at all? - 4/24/2006 10:55:17 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Take a look at the files collection in the WSH doc.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|