Public Function NameBackupTarget( _
ByVal vFromFileName As Variant _
, ByVal vToFileName As Variant _
) As Boolean StringToFile("First.", "Debug.Out") = True
NameBackupTarget("Debug.Out", "Debug.1") = True
StringToFile("Second.", "Debug.Out") = True
' Next call renames Debug.1 to Debug.-
' then renames Debug.Out to Debug.1
NameBackupTarget("Debug.Out", "Debug.1") = True
FileToString("Debug.1") = "Second."
FileToString("Debug.-") = "First."See also: NameAsBackup Function
NameMaybeBackupInTemp FunctionvFromFileName: Current name of the file; the name that is to be changed. Function does nothing and returns False if vFromFileName is Null or cannot be fixed-up to a String. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.