START cmd /k "prompt --=[$D $T]=--$_$L$P$G&& cd C:\temp\"
:: Description: Clean song name from an input file to <Title>-<Year>-<Artists>
:: Require: sed.exe
:: Author: Xuan Ngo
:: Version: 1.0
Use caret(^). Note: Don't use space at the beginning of the appended line.
The idea is to list all files by oldest date(DIR /OD) and then break out of the FOR loop on the 1st iteration using EXIT /B.
Articles and comments posted are the property of their respective posters.