![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 4273 Date : 2003-04-10 Author : Garry Deane Subject : Re: O Boy, folder dates Size(KB) : 2
--- In xxcopy@yahoogroups.com, Jon Hugdahl wrote: > Hi: > > I understand that when a folder is created new it gets > today's date. Unfortunately a copied folder that is new > in the destination gets today's date, and not the > original or source's date. This is different from > files that do keep their original dates. The above > is from my observation. > > Recently I converted my clone operation from three > separate partitions to one partition with high-level > names equal to the volume labels of the source > partitions. Now all my (backup) folders have the > wrong dates. I am thinking of going back, and that > is not so bad. > > I want re-create my win98se partition and I want to > do it using xxcopy so that I can be rid of a invalid > sector number that causes PM9 and DI2002 to fail on > a partition copy (DI2002 will backup and restore the > partition but it perpetuates the invalid sector problem). I think your best bet would be to fix the invalid sector number problem. This is usually the last sector on the disk because the BIOS mis-reports the size of the disk. If so, you can use the BIOS to manually set the disk parameters to match what is actually there rather than using auto detect. Alternately, use Partition Magic to reduce the size of the partition so that there is a little free space at the end of the disk. This will exlude the invalid sector when you do a partition copy. I think I have also seen other solutions to this problem. > I have seen a lot of discussion of folder dates. And I > understand that xxcopy has a limitation in this area, of > which limitation I am not quarreling. This is an operating system problem rather than a limitation of xxcopy. > Has any one found a solution? That is, is there any way > of either preserving or updateing folder dates to the > source's date? I am willing to run a separate program > to meet my goal. It would be possible to do this but why bother! Using a programming language or even in batch with the aid of a utility or two, you could do the following: 1. Get a list of the directories in the source. 2. For each directory, retrieve it's date and time. 3. Reset the system clock to match the directory timestamp. 4. Determine the destination directory name based on the source directory name. 5. Create the destination directory if it doesn't already exist. 6. Move on the the next directory. 7. Restore the system time. 8. Run xxcopy to copy the files from the source to the destination. But as I said, why bother. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.