rem @echo off rem dircd.bat rem generates .txt listings of mp3 discs suitable for web display rem jason carr, http://www.mousetrap.net rem mouse.browser@mousetrap.net rem ================================ rem GNU! rem ================================ rem copyright 2001, jason carr. rem distributed under the terms of the GNU General Public License rem http://www.gnu.org/licenses/gpl.txt rem ================================ rem definitions rem ================================ rem change these settings to fit your own setup set REPORTDIR=c:\temp\pf rem no user-serviceable parts below this point... set DRIVE=%1 set FILENAME=%2 rem ================================ rem check for args rem ================================ if "%FILENAME%"=="" goto error rem ================================ rem do the work rem ================================ rem dump the whole listing rem kill lines that say rem because they confuse web browsers dir /s /on %DRIVE%:\*.mp3 | find /v "<" > %REPORTDIR%\%FILENAME%.txt cls type %REPORTDIR%\%FILENAME%.txt rem all is well goto exit :error echo echo USAGE: dircd DRIVE CDNAME goto exit :exit rem end of the line