hi, Maybe the easiest way to do that is to write a script for processing classes one by one. e,g,. create a script file called 'sootdir': #!/bin/bash DIR=$1 shift cd $DIR for KlassFile in `echo *.class` do echo $KlassFile > tmp.name Klass=`eval cut -f1 -d. tmp.name` java soot.Main $* $Klass done so you can use command 'sootdir tmp'. hope this helpful, feng