Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create and Amend

Status
Not open for further replies.

akki007

Programmer
May 22, 2003
55
GB
I am trying to create a text file via a DOS batch script and subsequently I need to add further lines to this file basedf on other processing in the batch script, how is this done?

Thanks
 
Use the append command. >>

For example:

Ping 127.0.0.1 >myresults.txt
tracert >>myresults.txt

I hope you find this post helpful. Please let me know if it was.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top