FileCopyTimestamps Method (String, String, Boolean) |
[AlphaFS] Transfers the date and time stamps for the specified files.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void CopyTimestamps(
string sourcePath,
string destinationPath,
bool modifyReparsePoint
)
Public Shared Sub CopyTimestamps (
sourcePath As String,
destinationPath As String,
modifyReparsePoint As Boolean
)
public:
static void CopyTimestamps(
String^ sourcePath,
String^ destinationPath,
bool modifyReparsePoint
)
static member CopyTimestamps :
sourcePath : string *
destinationPath : string *
modifyReparsePoint : bool -> unit
Parameters
- sourcePath
- Type: SystemString
The source file to get the date and time stamps from. - destinationPath
- Type: SystemString
The destination file to set the date and time stamps. - modifyReparsePoint
- Type: SystemBoolean
If , the date and time information will apply to the reparse point (symlink or junction) and not the file linked to. No effect if destinationPath does not refer to a reparse point.
Remarks This method does not change last access time for the source file.
See Also