Terry Pinnell
2023-10-25 10:19:59 UTC
This will probably seem a rather obscure request. I need to find a way
to sequentially copy all the files from folder A to folder B. Trivial?
Unfortunately it seems not.
Folder B is an SD card (actually a micro-SD, various sizes). I don't
want to distract or bore with detail, but it's in a little module, 'DFR
Mini MP3 Player' from DF Robot in China.
https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299
The module somehow 'indexes' the files in the order in which they are
transferred to the card. So that 002.mp3 must arrive in folder B after
001.mp3, and so on.
I'd always assumed this would be done automatically by Windows 10 File
Explorer. But to my dismay it clearly isn't so. Merely sorting folder A
into filename order
0001.mp3
0002.mp3
.
.
0123.mp3
and then using whatever combination of familiar steps in File Explorer I
try (wholesale copy/pasting, dragging, selecting from first or last
file, resetting attributes with other utilities, renaming, resorting,
etc) does not work consistently.
Even if I apparently get a winning combination, any subsequent change
(like adding 0124.mp3 after 0123.mp3) is not always reflected as
intuition would expect.
I'm considering resorting to using my Macro Express Pro application, to
simulate one-by-one dragging, but I know it would be painfully slow.
Right now, to proceed with my project, I have a mere 150 files, so I'll
tediously do it manually after (Fully, not Quick) formatting the card.
But I hope a batch file can cut the mustard please.
Or does anyone know of a property/attribute that can be changed on the
PC before copying, that will have the required 'sequential indexing'
effect?
Terry
to sequentially copy all the files from folder A to folder B. Trivial?
Unfortunately it seems not.
Folder B is an SD card (actually a micro-SD, various sizes). I don't
want to distract or bore with detail, but it's in a little module, 'DFR
Mini MP3 Player' from DF Robot in China.
https://wiki.dfrobot.com/DFPlayer_Mini_SKU_DFR0299
The module somehow 'indexes' the files in the order in which they are
transferred to the card. So that 002.mp3 must arrive in folder B after
001.mp3, and so on.
I'd always assumed this would be done automatically by Windows 10 File
Explorer. But to my dismay it clearly isn't so. Merely sorting folder A
into filename order
0001.mp3
0002.mp3
.
.
0123.mp3
and then using whatever combination of familiar steps in File Explorer I
try (wholesale copy/pasting, dragging, selecting from first or last
file, resetting attributes with other utilities, renaming, resorting,
etc) does not work consistently.
Even if I apparently get a winning combination, any subsequent change
(like adding 0124.mp3 after 0123.mp3) is not always reflected as
intuition would expect.
I'm considering resorting to using my Macro Express Pro application, to
simulate one-by-one dragging, but I know it would be painfully slow.
Right now, to proceed with my project, I have a mere 150 files, so I'll
tediously do it manually after (Fully, not Quick) formatting the card.
But I hope a batch file can cut the mustard please.
Or does anyone know of a property/attribute that can be changed on the
PC before copying, that will have the required 'sequential indexing'
effect?
Terry