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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy File

Status
Not open for further replies.

sardinka2

Programmer
May 6, 2004
38
0
0
US
I am trying to copy an .xls file. However when I am using a
fso.CopyFile FName, DstFName I need to know the file destination. But in my case I would like to copy a file from one place to other where desctination file is not exists. How do I do this?
 
what's wrong with copy or xcopy?

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
The problem is user is removing the files and they don't exits in a directory I am trying to copy also the file name will be different everytime .
 
??? You are trying to copy a file that doesn't exist in the directory? You have to have a file to copy it.


======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top