DotNetNewbie
Programmer
Hi,
I am working on a script that checks a server based DLL file, which then needs to be copied onto workstations if the file is newer than the current file.
I had intended on using .DateLastModified however this changes everytime a user logs into the associated program. I then decided to use the .DateCreated, however this also fails as then I do a .CopyFile it changes the DateCreated to todays date/time.
Is there anyway to prevent the .CopyFile from changing the Date Created, i.e. preserve the original creation date?
Any other suggestions welcome.
.net
I am working on a script that checks a server based DLL file, which then needs to be copied onto workstations if the file is newer than the current file.
I had intended on using .DateLastModified however this changes everytime a user logs into the associated program. I then decided to use the .DateCreated, however this also fails as then I do a .CopyFile it changes the DateCreated to todays date/time.
Is there anyway to prevent the .CopyFile from changing the Date Created, i.e. preserve the original creation date?
Any other suggestions welcome.
.net