Here is what I am trying to do. I need to have a user click on a button and then a certain directory (example c:\data) is accessed and I need to out put this to a text file.

I know the old sheel way would be to do a dir c:\data>test.txt

but any other way possible?

Thanks again