Discussion:
Excluding Folders when using del /s
(too old to reply)
Mad-Penguin
2007-10-04 11:04:03 UTC
Permalink
Hello

I am trying to write a simple script that will del /s all *.mp3 files from
within a directory but exclude a single folder from having its *.mp3 deleted.

How can I exclude this directory.

Thank you
Steve
Ethan Winer
2007-10-04 13:48:41 UTC
Permalink
Post by Mad-Penguin
How can I exclude this directory.
Move that folder to somewhere else. Or mark all the files read-only. Or
learn a real programming language, which is a LOT more fun than writing
batch files. :->)

Loading...