When copying a folder with subfolders from one location to another, Windows maintains the LastWriteTime for files but does not for folders, so you end up with folders with LastWriteTime (Date Modified) with a date of the date and time you copied the folder.
I have a shared folder on the network that i copied from one location to another because of a server upgrade. Everything copied over fine, but the folder dates are set to 10/25/2005 - the day that i did the copying. I use the Date Modified in folder view quite often to know which folder is newer than the other. But since the copying i have to go into every folder and/or subfolder and find out which date is newer or older.
I need a vb.net 1.1 or 2.0 application that goes through this folder recursively and updates each and every subfolder's LastWriteTime to be the same as the newest file that it holds inside the folder. Some subfolders can go 20-30 subfolders deep before finding the final folder with files, so the application must be able to drill infinately until it gets to the final child folder.
If you are unable to do this in vb.net then provide me with an executable program in any other languange.
I have attached a vb.net source code to give you a starting point. You may use it or just totally ignore it.
22 freelance font une offre moyenne de $46 pour ce travail
I can provide a program that do the copying as well as change the folder modified date in one go. So you didn't have to do the step twice. I can even make it run automatically every day based on schedule.
I have gone through your requirements and understand your needs well.I'm really interested in your [url removed, login to view] see PM for detail!Best regards.