Re: Copy and Paste Sorting - Order Not Preserved (But Changed)



I think you'll find the order of copying of the files via drag and drop is
using low level "Findfirst/Findnext" API calls so each filename gets
retrieved in the order they appear in the "index" of files stored on the
hard disk table (or some analogous "list" Windows is maintaining). Software
also can/will use this method but often the programmer already has a sorted
list of files (which is what Explorer shows, etc.) and simply "walks down"
that list rather than use the lower level calls to retrieve what he already
knows.


"PJPeter29" <PJPeter29@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FA9E5AD0-9AEC-4F44-B98F-8EC5E204C560@xxxxxxxxxxxxxxxx
> Hi, my problem is that XP uses a different algorithm when it chooses how
> to
> sort files in a folder and the order when copying and pasting - and it
> doesn't preserve the order of the original folder when copying from within
> it.
>
> This can be shown very easily, just create a folder, create a new Next
> Document, don't change the name. Now make a bunch of copies of this, it
> will
> start to name them names such as 'Copy (2) of New Text Document.txt' and
> 'Copy (10) of New Text Document.txt' (in that order). Now create a second
> folder somewhere, and select all these files and either Drag and Drop them
> over, or copy and paste them. You'll notice that in this second folder,
> the
> order is different - especially noticable because the order of Copy (2)
> and
> Copy (10) is now different.
>
> The order of the original folder doesn't matter, Windows chooses to copy
> the
> files over always based on the resulting ordering you see in the second
> folder. This may be based on the underlying Directory Structure of the
> folder, but it is terribly annoying.
>
> But, if you copy the entire folder, it is all in the correct order
> (confirmed by copying large files to an MP3 Player, see below).
>
> I'm using Windows XP Pro SP2. The issue is especially troubling for me
> because I like to copy files to my MP3 Player in order, and for it to stop
> copying when it runs out of space. Because of this issue, my file sare
> often
> out of order, and it takes extra time to delete the ones that don't fit,
> go
> back and start copying different earlier files, etc... It mostly bugs me
> when
> I'm copying parts of CDs or audiobooks to the player, when I already have
> part of the content copied into a folder. I've been frustraited by this
> issue
> for a very long time, but thought it was due to some other program I had
> installed, such as antivirus or antispyware software, but it still happens
> on
> a fresh install of XP SP2, on multiple computers.
>
> If anyone has a fix for this or any suggestions it would be greatly
> appreciated.
>
> Thanks,
> Peter


.



Relevant Pages

  • Re: Copy and Paste Sorting - Order Not Preserved (But Changed)
    ... out being based on any sort of ordering system, when copying from CDs or to ... I can't with my MP3 Player. ... > | doesn't preserve the order of the original folder when copying from ...
    (microsoft.public.windowsxp.basics)
  • Re: Prevent copying
    ... The folder in which the web pages were ... restricted to clicking on links instead of copying and pasting a file ... and that could be set to allow no new program installations. ... Here though on a network group policy mght prevent new program ...
    (microsoft.public.windows.server.security)
  • Re: Prevent copying
    ... and that could be set to allow no new program installations. ... Temp folders for the browser might be ... The folder in which the web pages were ... restricted to clicking on links instead of copying and pasting a file ...
    (microsoft.public.windows.server.security)
  • Re: Hot to keep file copy from stopping?
    ... - drill into the failed folder and repeat within there ... I've have folks tell me with a straight face that "copying ... special tools; ...
    (microsoft.public.windowsxp.security_admin)
  • Re: lost file system
    ... There is nothing within Windows that can retrieve your files though, ... If you were moving, your best bet is to restore from ... For future reference you might want to keep the third line of my signature ... > copying from 1 drive to another, ...
    (microsoft.public.windowsxp.accessibility)