# Write TTree to TXT?

**URL:** <https://root-forum.cern.ch/t/write-ttree-to-txt/11651>\
**Category:** ROOT\
**Created:** [January 7, 2011, 10:06pm UTC](https://root-forum.cern.ch/t/write-ttree-to-txt/11651 "2011-01-07T22:06:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [January 9, 2011, 9:44pm UTC](https://root-forum.cern.ch/t/write-ttree-to-txt/11651/2 "2011-01-09T21:44:28Z")

</div>

Hi,

```auto
T->Scan("*"); >T.txt

```

should work (with ROOT 5).

Cheers, Axel.

---

_[View the full topic](https://root-forum.cern.ch/t/write-ttree-to-txt/11651)._
