The fastest way to do this: copy the script to each of those subfolders and run there. Or did I miss something?
Kees
Hi I came accrossa script that I will put below, It creates a playlist file for titles that are located in the folder that the batch file is run from, It would be great if someone could help me modify it so that it can be run from within a folder containing numerous sub folders and create a playlist file in each of the subfolders with the playlist file consisting of just the files in each subfolder.
thanks in advance.
@ECHO OFFSET currentfolder="%cd%"CD ..SET upperfolder="%cd%"IF %upperfolder:~-2,-1%==\ SET upperfolder=%upperfolder:\=%CALL SET folder=%%currentfolder:%upperfolder:"=%\=%%CD %folder%TITLE Generating Playlist for %folder%ECHO.ECHO Start time: %time:~0,-3%ECHO Please wait...FOR /F "tokens=*" %%A IN ('dir /s /b *.mp3,*.wma,*.flac') DO CALL :loop "%%~A"GOTO end:loopSET file="%~1"CALL SET file2="%%file:*%currentfolder:"=%\=%%"SET file2=%file2:~0,-1%setlocal enabledelayedexpansion>>"%folder:"=%.m3u" ECHO !file2:"=!GOTO :EOF:endECHO End time: %time:~0,-3%ECHO PAUSE

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic