Public Function NameMaybeBackupInTemp( _
ByVal vFromPathName As Variant _
, ByVal vToPathName As Variant _
, Optional ByVal vKeepBackup As Variant _
, Optional ByVal vTempFilePrefix As Variant _
) As Boolean StringToFile("First.", "Debug.Out") = True
' Next call backs-up Debug.1 with a name like C:\TEMP\NAM03B4.TMP
NameMaybeBackupInTemp("Debug.Out", "Debug.1", True) = True
FileToString("Debug.1") = "First."See also: NameBackupTarget Function
NameAsBackup Function
GetTempFileName FunctionvFromPathName: Current name of the file; the name that is to be changed. Function does nothing and returns False if vFromPathName is Null or cannot be fixed-up to a String. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.