Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Echo a blank line into a .txt file ..??  (Read 9165 times)

0 Members and 1 Guest are viewing this topic.

gumbaz

    Topic Starter


    Intermediate

    Echo a blank line into a .txt file ..??
    « on: June 29, 2008, 11:38:52 PM »
    how can i echo a blank line into a .txt file ..??
    like:
    Code: [Select]
    echo ------------- >> c:\1.txt
    echo "code for blank line" >> c:\1.txt
    echo ------------- >> c:\1.txt

    resulting 1.txt file should look like this:
    Code: [Select]
    -------------

    -------------

    blastman



      Hopeful

      Re: Echo a blank line into a .txt file ..??
      « Reply #1 on: June 30, 2008, 12:49:05 AM »

      Code: [Select]
      echo ------------- >> c:\1.txt
      echo. >> c:\1.txt
      echo ------------- >> c:\1.txt

      that will do it.

      hope it helps.

      Blastman, you are the man. Thank You Very Much!!!!!!!!!



      Dias de verano

      • Guest
      Re: Echo a blank line into a .txt file ..??
      « Reply #2 on: June 30, 2008, 04:44:11 AM »
      in case of short sight, that's

      echo.