Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy File from one Folder to Another

Status
Not open for further replies.

Jesus4u

Programmer
Feb 15, 2001
110
US
I know how to use the FSObject pretty good but here is the scenario.

I have 10 different folders each containing ONE file with the SAME name.

I need to copy these 10 files to ONE folder but of course you can't because the FSObject will overwrite the files leaving only one.

How can I get around this one?

Thanks Exams Passed: 70-152, 70-175, 70-176, 70-100
 

FileCopy Source, DestName

Where you can rename the File as you copy

(oh yeah! this is a built in function of VB no need for FSO)


Good Luck

 
sorry I am doing this in ASP. Exams Passed: 70-152, 70-175, 70-176, 70-100
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top