Concatenating files


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Concatenating files

  1. #1
    Join Date
    Oct 2004
    Posts
    34

    Question Concatenating files

    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.
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2005
    Location
    Reisterstowwn, MD
    Posts
    72
    Looks like you made 2 posts by accident. I responded to your first one describing the problem.
    Java has 99 problems but a pointer ain't one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center