for %q in (*.txt) do perl -pe"$_.=$/" "%q" > "%q.new"