@echo off rem pls2m3u by Michael John Wensley (C)2004 http://www.wensley.org.uk/ rem Installation: copy to empty dir, set in PIF, Batch File: command /c, close on exit. set L=%0\..\ram.m3u if exist %0\..\ram.m3u set L=%0\..\ra2.m3u if exist %0\..\ram.m3u del %0\..\ram.m3u if exist %0\..\ra2.m3u set L=%0\..\ram.m3u if exist %0\..\ra2.m3u del %0\..\ra2.m3u del %0\..\pre.txt > NUL del %0\..\run.bat > NUL type %1 | find "http" > %0\..\pre.txt echo echo off > %0\..\run.bat for %%D IN (1 2 3 4 5 6 7 8 9) DO echo DOSKEY FILE%%D=set FILE%%D$1>> %0\..\run.bat doskey /REINSTALL /BUFSIZE:2048 > NUL doskey /FILE:%0\..\pre.txt > NUL doskey /macros >> %0\..\run.bat for %%D IN (1 2 3 4 5 6 7 8 9) DO echo echo %%FILE%%D%%>> %0\..\run.bat echo exit >> %0\..\run.bat command < %0\..\run.bat | find "http" | find /V "=" > %L% type %L% > NUL del %0\..\pre.txt > NUL del %0\..\run.bat > NUL start %L%