Hi,
I'm trying to copy a file from a location to another.
In my script a have the following:
FSO.CopyFile lastf, DestFld & SubFld & lastMonth
I get the error "Permission denied"
Before that I've tried the following:
FSO.CopyFile destfld & "*.*", DestFld & SubFld & lastMonth
It works !
I must mention that I get the same error at work (administrative rights) and even at home !
Where is my mistake ?
I'm trying to copy a file from a location to another.
In my script a have the following:
FSO.CopyFile lastf, DestFld & SubFld & lastMonth
I get the error "Permission denied"
Before that I've tried the following:
FSO.CopyFile destfld & "*.*", DestFld & SubFld & lastMonth
It works !
I must mention that I get the same error at work (administrative rights) and even at home !
Where is my mistake ?