I am using the following code to delete a file and then copy another to it - my problem is that the scripting causes McAfee virus checker to prompt the user to continue - is there an alternative way to do such operating system related tasks without causing McAfee concern please?
Set fs = CreateObject("Scripting.FileSystemObject")
fs.deletefile TcopyFile, -1
fs.CopyFile TFilename, TcopyFile
Thanks
Set fs = CreateObject("Scripting.FileSystemObject")
fs.deletefile TcopyFile, -1
fs.CopyFile TFilename, TcopyFile
Thanks