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

Author Topic: Write  (Read 2104 times)

0 Members and 1 Guest are viewing this topic.

almn

  • Guest
Write
« on: May 19, 2006, 06:35:19 PM »
Hello,

I would like to know how to create a log that takes up more than one line. The following doesn't work:
echo :@echo off >C:\test.txt
echo :echo welcome to the program >C:\test.txt

After I have run the file and check the log all I see is "echo welcome to the program " and I want all of it

Thank You

Almn

Dusty



    Egghead

  • I could if she would, but she won't so I don't.
  • Thanked: 75
  • Experience: Beginner
  • OS: Windows XP
Re: Write
« Reply #1 on: May 19, 2006, 06:50:02 PM »
Use >> the second and subsequent times to Append the echoed comment to the original file.
One good deed is worth more than a year of good intentions.

almn

  • Guest
Re: Write
« Reply #2 on: May 19, 2006, 09:54:17 PM »
ok thanks

Almn ;)