If not, you can create a script using LIST and LFORMAT, then EXEC it. There's a way to do it with pipe, like in Unix, though off the top of my head I cannot recall the syntax. I believe it's something like
list #?.JPG LFORMAT "protect %s -e" | exec
I asked a question about pipes a while back and I believe Piru answered spot-on.