I have attached two files, ListOfFiles.txt and Concatenate.txt.
I'm using a command line (dos window)
running the command....
java Concatenate file1.txt file2.txt
The program concatenates the contents of the two files to the console.
I want to know how I can store the results in an another file(outagain.txt)?
Thanks,
the results in the file now gives me a '?' symbol.


Reply With Quote


Bookmarks