in reply to How to make code smaller--saving steps and writing one liners

Not perl, but simple, effective and fast:

for /r "C:\users\User\Music\" %d in (.) do @dir /a-d /b %d 2>nul >>fil +elist.txt

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^2: How to make code smaller--saving steps and writing one liners
by afoken (Chancellor) on May 09, 2009 at 15:12 UTC

    I would consider that line noise. ;-)

    (Not exactly your code, but that sick syntax extension of DOS batches based on implementation errors in ancient DOS versions.)

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)