Jeremy Stein - Brain

« »

Recursive decompile

On Windows, to decompile all the class files in a directory tree with jad, use the following command:

for /r . %f in (*.class) do c:\path-to-jad\jad -d %~dpf -o “%f”

You could add the parameter -s .java if you’re feeling confident.

Double the %s if you’re putting this in a batch file.

Update: Oops. You could also just use the -r option with “**/*.class”.

January 21, 2009 1 Comment.

One Comment

  1. Aaron replied:

    Thanks, this is just what I was looking for.

    May 27th, 2009 at 10:03 am. Permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Why ask?

« »