F5F Stay Refreshed Software Operating Systems Organize files systematically during bulk copying

Organize files systematically during bulk copying

Organize files systematically during bulk copying

Pages (2): 1 2 Next
A
Angel_MP
Member
174
11-05-2016, 06:04 AM
#1
To clarify your issue, here’s what’s happening: Your car audio system organizes songs based on the order they were copied. If a song finishes copying before another one that should play earlier, it plays first. This causes confusion when you want files to appear in a specific sequence. For instance, if song 10 copies before song 9, song 10 will play where song 9 was meant. To fix this, you’d need a method to copy files one by one while preserving their intended order, ensuring the first file is always copied first and subsequent ones follow only after it’s complete.
A
Angel_MP
11-05-2016, 06:04 AM #1

To clarify your issue, here’s what’s happening: Your car audio system organizes songs based on the order they were copied. If a song finishes copying before another one that should play earlier, it plays first. This causes confusion when you want files to appear in a specific sequence. For instance, if song 10 copies before song 9, song 10 will play where song 9 was meant. To fix this, you’d need a method to copy files one by one while preserving their intended order, ensuring the first file is always copied first and subsequent ones follow only after it’s complete.

L
LordRedwood
Junior Member
11
11-17-2016, 09:05 PM
#2
Sure, I can help with that. Playing a playlist in the car would make things simpler, and you can adjust the sequence as needed. The ordering parameters will depend on how you view them.
L
LordRedwood
11-17-2016, 09:05 PM #2

Sure, I can help with that. Playing a playlist in the car would make things simpler, and you can adjust the sequence as needed. The ordering parameters will depend on how you view them.

S
SrUrsoo
Member
171
11-30-2016, 08:50 AM
#3
Following the sequence carefully is essential. Each track plays its part in order, and since the playlist isn’t available, I’m managing the flow manually.
S
SrUrsoo
11-30-2016, 08:50 AM #3

Following the sequence carefully is essential. Each track plays its part in order, and since the playlist isn’t available, I’m managing the flow manually.

A
alexagas
Member
210
11-30-2016, 09:33 AM
#4
Begin script with off mode and initialize variables. Loop through hidden files using directory command. Count matching entries. Display total count. Check if current file matches count, then copy if needed. If not present, skip copying. Pause between actions. Add delay or pause on each copy to ensure order. Confirm functionality works as intended.
A
alexagas
11-30-2016, 09:33 AM #4

Begin script with off mode and initialize variables. Loop through hidden files using directory command. Count matching entries. Display total count. Check if current file matches count, then copy if needed. If not present, skip copying. Pause between actions. Add delay or pause on each copy to ensure order. Confirm functionality works as intended.

F
firehawk0322
Member
128
12-01-2016, 11:30 AM
#5
How do I use this?
F
firehawk0322
12-01-2016, 11:30 AM #5

How do I use this?

E
evancchiang
Junior Member
14
12-07-2016, 09:23 PM
#6
I should also mention this. Place the file in the source, define the destination here: copy %file%.txt C:\users\axelb\Desktop\target and here: if exist C:\users\axelb\Desktop\target\%file%.txt (just replace your path with yours). Now the tricky part is naming each file according to its order. Yes, you’ll need to assign names based on their sequence. That’s challenging with batch, maybe I’m not very experienced or there’s no easy solution. You might be able to write a script for this but I don’t have time to create one for you. Once you run it, it should copy them in the correct order. If you still face issues with file loading out of sequence, add a pause here: ) else (echo copy copy %file%.txt C:\users\axelb\Desktop\target goto 1). There are many methods but I don’t remember any. A song is at least a minute long, so set a 1-minute timer and it should work. Good luck!
E
evancchiang
12-07-2016, 09:23 PM #6

I should also mention this. Place the file in the source, define the destination here: copy %file%.txt C:\users\axelb\Desktop\target and here: if exist C:\users\axelb\Desktop\target\%file%.txt (just replace your path with yours). Now the tricky part is naming each file according to its order. Yes, you’ll need to assign names based on their sequence. That’s challenging with batch, maybe I’m not very experienced or there’s no easy solution. You might be able to write a script for this but I don’t have time to create one for you. Once you run it, it should copy them in the correct order. If you still face issues with file loading out of sequence, add a pause here: ) else (echo copy copy %file%.txt C:\users\axelb\Desktop\target goto 1). There are many methods but I don’t remember any. A song is at least a minute long, so set a 1-minute timer and it should work. Good luck!

T
timo_1892
Senior Member
715
12-08-2016, 01:35 AM
#7
Yes, you should save it as a .bat file and put it in your car music folder. Since your car audio is on a USB stick, make sure it’s set as the target. Your song names referencing the picture from your first post should work with this method.
T
timo_1892
12-08-2016, 01:35 AM #7

Yes, you should save it as a .bat file and put it in your car music folder. Since your car audio is on a USB stick, make sure it’s set as the target. Your song names referencing the picture from your first post should work with this method.

D
D34D_
Member
162
12-09-2016, 12:20 AM
#8
Yes Yes Doubt it
D
D34D_
12-09-2016, 12:20 AM #8

Yes Yes Doubt it

9
992x
Senior Member
506
12-10-2016, 03:48 AM
#9
Well, I tried. Plugged another usb stick to simulate the one I use and ran the script. What I got was a .bat file that seems to be on a infinite loop.No files is copied at all. Here's what I do: Spoiler set /A file=1 set /A add=1 for /f %%A in ('dir /a-d-s-h /b ^| find /v /c ""') do set cnt=%%A echo File count = %cnt% :1 if %file% equ %cnt% ( pause ) if exist K:\ ( echo no copy set /a file+=%add% goto 1 ) else ( echo copy copy %file%.txt K:\ goto 1 ) pause Anything that I did wrong?
9
992x
12-10-2016, 03:48 AM #9

Well, I tried. Plugged another usb stick to simulate the one I use and ran the script. What I got was a .bat file that seems to be on a infinite loop.No files is copied at all. Here's what I do: Spoiler set /A file=1 set /A add=1 for /f %%A in ('dir /a-d-s-h /b ^| find /v /c ""') do set cnt=%%A echo File count = %cnt% :1 if %file% equ %cnt% ( pause ) if exist K:\ ( echo no copy set /a file+=%add% goto 1 ) else ( echo copy copy %file%.txt K:\ goto 1 ) pause Anything that I did wrong?

S
SorannosLP
Junior Member
21
12-10-2016, 05:04 AM
#10
Yes, I listed my files in order from 1 to 3.
S
SorannosLP
12-10-2016, 05:04 AM #10

Yes, I listed my files in order from 1 to 3.

Pages (2): 1 2 Next