![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 8010 Date : 2004-06-07 Author : Garry Deane Subject : Re: switch for open files Size(KB) : 1
--- In xxcopy@yahoogroups.com, "des4212001" wrote: > Thanks, I hadn't tried that, duh! And pendmoves tells me the > appropriate key is empty as well (as I haven't put anything > there yet!). Sorry, I'm hung up on details. Little things > like is there a mechanism for specifying the Pending > Renames\Deletions, and what differentiates them (rename to > null for delete?) I mean, MoveFile says to me copy it to > the destination and delete it from the source. (I know you > said you hadn't actually used it yet.) But I see a > potentially valuable tool here for maybe copying the registry > components. (I wasted mucho time once finding out that Win32 > was running before Startup & Shutdown Scripts were executed!) > I'll write the author and let you know if he answers. > > Thanks again: DES I'm pretty sure that MoveFiles works the same as MV or INUSE from the Resource Kit. It simply adds entries to: HKLM\SYSTEM\CurrentControlSet\Control\ Session Manager\PendingFileRenameOperations See also http://www.ss64.com/nt/mv.html for some more info. Having said that, I gave it a brief test by attempting to copy a registry file to another location and nothing happened. I guess that since the registry files are in use as soon as windows boots, there isn't any opening to copy them before they become locked. Movefiles is therefore probably no good for copying the registry files. Of course, if you only want to copy the registry files, you can use ERUNT in a batch file to copy the files to a temporary location then move them to their correct location on the cloned copy of the system. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.