FileCopy error

Hi all

I have this:

Source = “C:\Lotus\Domino\Data\MyFile.nsf”

Dest = “\BackupDrive\MyDir\MyFile.nsf”

Filecopy Source, Dest

but I get error “Permission denied”

I also tried with Dest = “C:\MyFile.nsf” and still get same error…

Any ideas ?

Thanks !!!

Subject: FileCopy error

I used your example pointing to a text file on my system and didn’t get any errors.

I used your example principal in a button where I created a text file and copied it with no errors.

I used your example principal in a button where I created a text file but didn’t close it before the copy and got your error.

If the database you are trying to do a lotusScript file copy of is locked by Notes then this might be your issue.

hth