I am trying to copy a file from one folder to another. Somewhere along the line, I came up with the command:
objFSO.CopyFile strIn, strOut, OverwriteExisting
It does a nice job the file is copied. But if it is copied again, I get a message saying that the file already exists. How can I get it to overwrite the existing file?
objFSO.CopyFile strIn, strOut, OverwriteExisting
It does a nice job the file is copied. But if it is copied again, I get a message saying that the file already exists. How can I get it to overwrite the existing file?