Renames a file by adding the current ts to its name For example: foo.txt becomes foo.bak.20021102-102034.txt
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim pFileName As String
Dim pThrowOnNotFound As Boolean
Dim value As String
value = FileFns.RenameFileWithCurrentTimestamp(pFileName, pThrowOnNotFound) |
Parameters
- pFileName
- pThrowOnNotFound
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also