Re: Does "Move File" also update registry?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Tue, 16 Jun 2009 12:39:10 -0400, Lem <lemp40@unknownhost> wrote:

Opinicus wrote:
"Lem" <lemp40@unknownhost> wrote

AFAIK, all the move command does is copy the file to the selected
location and then delete the file from the old location.

Unless I'm mistaken, the Move command doesn't move the data at all
unless the move is from one storage device (or partition?) to another.
When you move a file from one folder to another on the same storage
device, the only thing that is changed is the information about the
file's location in the directory--or whatever it's called.

To see this in action, time how long it takes to Copy a really *big*
file from one folder to another and then compare that with how long it
takes to Move it.

You're right. I was thinking of moving files from one physical disk to
another, because that's what I did recently.

But your original point is still correct. If an application has
stored the path to a file in the registry, moving the file or the
folder that contains it will prevent the application from finding that
file.

--
Remove del for email
.



Relevant Pages

  • Re: Copying files in a certain date range to other locations
    ... Using vb5 I am trying to loop through a folder and select files ... I'll mention a couple extra things about file copying. ... IF your moving files, rather than copying, it's always better to use ... the move command behaves like a copy and delete and copy ...
    (microsoft.public.vb.general.discussion)
  • Re: Does "Move File" also update registry?
    ... Opinicus wrote: ... the Move command doesn't move the data at all unless the move is from one storage device to another. ... When you move a file from one folder to another on the same storage device, the only thing that is changed is the information about the file's location in the directory--or whatever it's called. ...
    (microsoft.public.windowsxp.general)
  • Re: Does "Move File" also update registry?
    ... the Move command doesn't move the data at all unless the move is from one storage device to another. ... When you move a file from one folder to another on the same storage device, the only thing that is changed is the information about the file's location in the directory--or whatever it's called. ... time how long it takes to Copy a really *big* file from one folder to another and then compare that with how long it takes to Move it. ...
    (microsoft.public.windowsxp.general)
  • RE: Locating corrupt driver
    ... This article describes the functionality and limitations of the Windows ... Create and format partitions on drives. ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.applications)
  • Re: Dim RetVal
    ... Looking in the folder there is a coed11.dat DAT file, the coed11 application, coed11.gdb GDB file ... The reason is that without the quotes, the command processor sees the ... In the command window, first type ... This *should* have exactly the same effect as the macro. ...
    (microsoft.public.word.vba.beginners)