rem sort java declarations in source code
java.exe -jar E:\com\mindprod\sortcode\sortcode.jar -marker=";" -start="// declarations" -end="// end declarations" -comparator=SortDeclarations MyProg.java
rem here is how to sort an entire directory
java.exe -jar E:\com\mindprod\sortcode\sortcode.jar -marker=";" -start="// declarations" -end="// end declarations" -comparator=SortDeclarations somedir
rem Here is how to sort an entire directory tree of files:
java.exe -jar E:\com\mindprod\sortcode\sortcode.jar -marker=";" -start="// declarations" -end="// end declarations" -comparator=SortDeclarations -s somedir
reme here is how to select two files for processing
java.exe -jar E:\com\mindprod\sortcode\sortcode.jar -marker=";" -start="// declarations" -end="// end declarations" -comparator=SortDeclarations -s C:\project\Cow.java D:\exper\Sheep.java
rem sorry, no *.java wild card support yet.