PDA

View Full Version : whats a good way to randomize/shuffle files in a folder?


Seluryar
03-23-2008, 12:30 PM
im trying to create a playlist for my mp3 player, but before i put them on my mp3 player, i want to shuffle the songs into a random order before making the playlist

whats the best way to do this?

i tried clicking on the duration, year, date created tabs at the top of the detailed list, but wasnt satisfied with the reorders.

this is windows xp btw

Binary Soldier
03-23-2008, 01:29 PM
This canbe done using a batch file. Yesterday I found a tutorial on renaming all the files within a folder. This script generates random numbers:-

@echo off
echo.|time|find "Current" >cu##ent.bat
echo set time=%%3> current.bat
call cu##ent.bat
del cu??ent.bat > nul
echo = | choice /c=%time%= temp2.bat > temp1.bat
echo shift>temp2.bat
echo shift>>temp2.bat
echo set RANDOM=%%9>>temp2.bat
call temp1.bat
del temp?.bat > nul

Short of time right now, but combining the two will do it, if your not worried about the songs keeping their original names.

No shuffle pay on the MP3 palyer I presume.

This tho might be be overkill, I'm sure there will be some premade scipts/programs out there for this very task. Also some players work off metadata rather than the actual visible names of the files in question.

*goes for a beer*

:)

Seluryar
03-23-2008, 02:25 PM
This canbe done using a batch file. Yesterday I found a tutorial on renaming all the files within a folder. This script generates random numbers:-


Short of time right now, but combining the two will do it, if your not worried about the songs keeping their original names.

No shuffle pay on the MP3 palyer I presume.

This tho might be be overkill, I'm sure there will be some premade scipts/programs out there for this very task. Also some players work off metadata rather than the actual visible names of the files in question.

*goes for a beer*

:)

my mp3 player has shuffle, but it enables it for all other playlists and albums, i cant be bothered to enable it for one playlist and then have to disable it when playing an album later :hs: