Loading ...
Sorry, an error occurred while loading the content.
 

Re: [NTB] Concatenation of files

Expand Messages
  • Mike Breiding - Morgantown WV
    ... Interesting. I always wondered what the Pasteboard was for. Thanks, -Mike
    Message 1 of 12 , Nov 10, 2009
      ebbtidalflats wrote:
      > Mike,
      >
      > You don't need clips for this, as long as your only talking around 20 files. It will be slower than running a clip, but faster than most other ways:

      > 1. Open a NEW document
      > 2. Make it the "PasteBoard"
      > SHIFT+CTRL+P
      > 3. Open the 20 or so files,
      > 4. Click the tab for each file
      > 5. Select ALL (Edit menu)
      >
      > OR CTRL+A
      >
      > 6. Copy the selected text to the clipboard
      >
      > 7. When all files have been copied,
      > SAVE the new document as the concatenated file.
      > Cheers, Eb


      Interesting.
      I always wondered what the Pasteboard was for.
      Thanks,
      -Mike
    • Mike Breiding - Morgantown WV
      ... I knew there had to be a way to do this with DOS, but I could not turn one up. Thanks! -Mike
      Message 2 of 12 , Nov 10, 2009
        Pete Turner wrote:
        > Quicker yet, Mike: create yourself a .bat file:-
        >
        > type c:\temp\page1.htm > c:\temp\concatenated.txt
        > type c:\temp\page2.htm >> c:\temp\concatenated.txt
        > type c:\temp\page3.htm >> c:\temp\concatenated.txt
        > .
        > .
        > .
        > type c:\temp\page99.htm >> c:\temp\concatenated.txt
        >
        > Note > for the first input file (create or clear the output file), >> for the subsequent input files (append to the output file).
        >
        > Then run it from the dos command prompt, and open the output file in your editor of choice.
        >
        > That's NoteTab, naturally :) Pete

        I knew there had to be a way to do this with DOS, but I could not turn
        one up.
        Thanks!
        -Mike
      • Marcelo Bastos
        ... Even easier: copy page1.htm+page2.htm+page3.htm+...+page99.htm concatenated.txt -- MCBastos This message has been protected with the 2ROT13 algorithm.
        Message 3 of 12 , Nov 10, 2009
          Interviewed by CNN on 10/11/2009 02:41, Pete Turner told the world:
          > Quicker yet, Mike: create yourself a .bat file:-
          >
          > type c:\temp\page1.htm > c:\temp\concatenated.txt
          > type c:\temp\page2.htm >> c:\temp\concatenated.txt
          > type c:\temp\page3.htm >> c:\temp\concatenated.txt
          > .
          > .
          > .
          > type c:\temp\page99.htm >> c:\temp\concatenated.txt
          >

          Even easier:

          copy page1.htm+page2.htm+page3.htm+...+page99.htm concatenated.txt
          --
          MCBastos

          This message has been protected with the 2ROT13 algorithm. Unauthorized
          use will be prosecuted under the DMCA.

          -=-=-
          ... Conformity obstructs progress.
          * TagZilla 0.0661 * http://tagzilla.mozdev.org on Seamonkey 2.0
        • Mike Breiding - Morgantown WV
          ... Many ways to skin a cat! Thanks, -Mike -- Morgantown WV www.EpicRoadTrips.us
          Message 4 of 12 , Nov 10, 2009
            Marcelo Bastos wrote:
            > Interviewed by CNN on 10/11/2009 02:41, Pete Turner told the world:
            >> Quicker yet, Mike: create yourself a .bat file:-
            >>
            >> type c:\temp\page1.htm > c:\temp\concatenated.txt
            >> type c:\temp\page2.htm >> c:\temp\concatenated.txt
            >> type c:\temp\page3.htm >> c:\temp\concatenated.txt
            >> .
            >> .
            >> .
            >> type c:\temp\page99.htm >> c:\temp\concatenated.txt
            >>
            >
            > Even easier:
            >
            > copy page1.htm+page2.htm+page3.htm+...+page99.htm concatenated.txt


            Many ways to skin a cat!
            Thanks,
            -Mike
            --


            Morgantown WV

            www.EpicRoadTrips.us
          Your message has been successfully submitted and would be delivered to recipients shortly.