Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. I would like to know is there any dos command can used to append a text at the end of file?

I would like to know is there any dos command can used to append a text at the end of file?

Scheduled Pinned Locked Moved System Admin
helpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LaHaHa
    wrote on last edited by
    #1

    I would like to know is there any dos command can used to append a text at the end of file? Please help!

    M 1 Reply Last reply
    0
    • L LaHaHa

      I would like to know is there any dos command can used to append a text at the end of file? Please help!

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      echo new_text_here >> filename.txt

      --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?

      S L 2 Replies Last reply
      0
      • M Michael Dunn

        echo new_text_here >> filename.txt

        --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?

        S Offline
        S Offline
        S Douglas
        wrote on last edited by
        #3

        Michael Dunn wrote:

        echo new_text_here >> filename.txt

        Very cool! I knew about using > to redirect the output but not >>


        I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:

        1 Reply Last reply
        0
        • M Michael Dunn

          echo new_text_here >> filename.txt

          --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?

          L Offline
          L Offline
          LaHaHa
          wrote on last edited by
          #4

          Wow! Thank you very much! I only think about >>, but forget echo! Ha! Ha!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups