|
#1
|
|||
|
|||
You can also use the following global VB script:
' *********************************************** ' Renames a file Sub RenameFile(SourceFile, DestFile, Overwrite) ' ensure that the target file does not exist If Overwrite And vbld_FSO.FileExists(DestFile) Then vbld_FSO.GetFile(DestFile).Delete True End If ' rename the file vbld_FSO.GetFile(SourceFile).Move DestFile End Sub |
|
|