>>In DOS I can use COPY even if a file is open.
>>In VFP I get a message (file is in use) if I try to use COPY FILE. Is there a way to perform a silent copy even if the file is open?
>
>You can use FileToStr()/StrToFile() to copy it as long as the file isn't open exclusively by something.
Or use SHFileOperation() as documented in the Windows API section. CopyFile() will work, too.