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!

Copying an open file

Status
Not open for further replies.

RexJacobus

Programmer
Dec 10, 2001
47
NZ
At the moment my users copy a bunch of files down onto their hard drives and then zip them up. They want me to automate this. The problem is that FileCopy won't copy an open file and they want to be able to do this during working hours. Any suggestions on how to get around this?

jim
 
Filecopy normally copies an open file but maybe not if another app has opened it for exclusive access. What error msg & number do you get?

Does the DOS Copy command work on those files. If so you could shell a batch file or shell xcopy with a command line parameter.

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top