I am trying to write a program that can sense if Any changes was made to the file:
"C:\\Folder1\\One\\File5.txt"
If Any changes was made, then this file will be copied to destination:
"C:\\Folder1\\Two\\File5.txt"
So what happens is that the destinationfile will be "Overwrited".
I have started out som code but are not sure how it is possible to sense any changes made to a file.
if( ...\\One\\File5.txt will make any changes )
{
System::IO::File::Copy(
"C:\\Folder1\\One\\File5.txt",
"C:\\Folder1\\Two\\File5.txt"
}