![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 4809 Date : 2003-06-11 Author : J. Merrill Subject : Re: XXCOPY16 and Directory Cloning Size(KB) : 2
At 08:46 PM 6/10/2003 +0000, Dale Schofield wrote >--- In xxcopy@yahoogroups.com, "J. Merrill" wrote: >> The default behavior of NT4 is to display the "last write" >timestamp of both files and directories; and to update the "last >write" timestamp of directories when files are copied into the >directory. The "create timestamp" of the directory is not being >modified; the "last write timestamp" is; and normally you see >the "last write" value. >> >> If you use >> >> dir e:\PFSleep\ /tc | find "" > >Alas this doesn't appear to work. In NT4 I still get the 'modified' >creation dates. Maybe that switch only applies to files and not >directories? I think I'll try using XXCOPY on a Win98 machine >instead. Could be that NT4 is doing something different, even though >I am a local admin on the machine in question. Will let you know how >I make out from Win98. > >Dale I'm surprised. Did you run XXCOPY from the NT4 machine (the E: drive is a local drive on the NT4 machine) or on another machine? (What service pack does the NT4 machine have? Mine has SP6.) I just tried, on the NT4 box, md c:\xxc xxcopy c:\some_dir\ c:\xxc\some_dir\ /t /tcc and it built the directory tree (15 dirs at 3 levels) for that piece of the drive; then dir c:\xxc\some_dir\ /tc /s | find "" showed only directories with 2002 timestamps -- the "create timestamp" for each directory was created correctly, as expected. (I do note that the directory c:\xxc\some_dir has "now" as the timestamp, but if I had used xxcopy c:\ c:\xxc\ /t /tcc I feel confident that some_dir would have had its timestamp set to match. I just didn't want to build so much of a directory tree for no reason.) Then I did xxcopy c:\some_dir\ c:\xxc\some_dir\ /clone and it copied all the files, after which the same "dir" command showed that the create timestamps of those directories had not changed. When I repeated from another machine running Win2K, using \\p300\boot\ instead of c:\, and using \xxc2\ as the target, the directories (except the "top" one) all had the right timestamp. Kan, do you have an explanation for why things would be different for us? J. Merrill / Analytical Software Corp
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.