I have a program that is coded in Java that I'm writing that will go through each of the directories in a directory chosen and give me back the file size of the root directories of that directory.. for example..
Users_Directory > user1 > user2 > user3 ... etc..
But it will go no lower than the folders in the root directory.. anyway..
I"m wanting to run this part of the program and something that will input this into an excel file... time its run, it will place the information into a new column. Would I be better writing this as a script? and how would I go about doing something like this?
You could also use a script, yes, but you might as well do it with java, which I think it's an easier solution. To read files in subdirectories have a look here:
For excel you could use the apache poi or jexcel which are both very easy to use (my personal favourite though is JExcel). YOu can find them both here: