1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| @echo off
if not exist c:\NUL goto FIN
echo Creation D'une playlist
c:
if exist "TestLecteur.m3u" del "TestLecteur.m3u"
if exist "TestLecteur.txt" del "TestLecteur.txt"
attrib -s -h Alb*.jpg /s
attrib -s -h Folder.jpg /s
del Alb*.jpg /s , Folder.jpg /s
cls
dir /b /s *.mp3 >> "c:\TestLecteur.txt"
ren "TestLecteur.txt" "TestLecteur.m3u"
choice /c:ON Voulez vous ecouter la playlist?
if errorlevel 2 goto Bye
if errorlevel 1 goto play
:Fin
cls
echo pas de DD c:/
pause
:Bye
exit
:play
echo Vous pouvez fermer la fenetre dos
"c:\TestLecteur.m3u" |
Partager