See this Comm Center thread by Mike Beales. In AcquireSupport need to make the Moving of the Raw file conditional omn its existence just like the test in the line above.
'
' In this case, AcquireSupport (probably) produced a RAW-xxx file, which is named
' the same as the working tempfile xxx. We need to move this to it's final place
' and we might as well do that now while we know that ACP AutoCal is on.
'
trfnf = FSO.GetParentFolderName(tfnf) + "\RAW-" + FSO.GetFileName(tfnf)
rfnf = FSO.GetParentFolderName(fnf) + "\RAW-" + bfn + ".fts"
If FSO.FileExists(rfnf) Then FSO.DeleteFile(rfnf)
If FSO.FileExists(rfnf) Then FSO.MoveFile trfnf, rfnf