I want to move every file in a directory to another directory, I can use
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject"
fso.MoveFile "c:\temp\source\*.*", "c:\temp\dest\"
but if the file already exists the script fails and nothing gets moved. How can I force the script to overwrite the existing file no matter what?
any suggestions would be appreciated...
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject"

fso.MoveFile "c:\temp\source\*.*", "c:\temp\dest\"
but if the file already exists the script fails and nothing gets moved. How can I force the script to overwrite the existing file no matter what?
any suggestions would be appreciated...