I have a directory myDir
with a lot of subdirectories .
I want to execute the following command :
java -cp bin Main
on each and every subdirectory , and then , create (in each subdirectory) a file with the output of the command java -cp bin Main
on the subdirectory .
I tried this :
// edited , doesn't work
But it doesn't really work
Any idea how to do that ?
Thanks