-
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
-
use the "Open (For Output)" Fxn
in conjunction with Print or Write
*************
' Open a file for output
Open "test.txt" For Output As #1
' Write to the test file
Print #1, "c:\data"
' Close the file
Close #1
*************