[Well I started something but realized that would'nt work...]
I can only think of "grep" for some common
pattern (contains /, maybe). This also is not a complete solution, but brain-stoming.
Thanks.
- m
ps: Ajith, if you have a working solution, maybe you can share it here.
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81