My quick batch file:
for /f "tokens=* eol=#" %%G in (%UserProfile%\Documents\myplaylist.m3u) do call:customcopy "%%G" pause exit :customcopy set/a cnt+=1 copy %1 %cnt%.mp3 exit/b0The script may not handle some special characters; then you need to place
setlocal EnableDelayedExpansion
above the FOR
command.
No comments:
Post a Comment