File.Copy
File.Copy, no matter if made with Windows Explorer, command copy, xcopy or programs, that use File.Copy Windows Api call, creates a new file or overwrites an existing file, where
Created Date = now,
Last Modified Date = Last modified DateTime of original file
File.Move
File.Move, no matter if made with Windows Explorer, Command move or programs, that use File.Move Windows Api call, creates a new file or overwrites an existing file, where
Created Date = created DateTime of original file
Last Modified Date = Last modified DateTime of original file
File.Write
File Write, no matter, if Console Application, Windows Application or Windows Service or what ever, creates a new or overwrites an existing file, where
Created Date = now
Last Modified Date = now
Simple C# Program 'gscopy.exe' to demonstrate
https://github.com/heinrichelsigan/cmdcopy [ releases ]
https://pastebin.com/Mw64xbqk
Keine Kommentare:
Kommentar veröffentlichen