# How to extract a data from dna.root file?

**URL:** <https://root-forum.cern.ch/t/how-to-extract-a-data-from-dna-root-file/16182>\
**Category:** ROOT\
**Created:** [June 3, 2013, 1:08pm UTC](https://root-forum.cern.ch/t/how-to-extract-a-data-from-dna-root-file/16182 "2013-06-03T13:08:06Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![rootroot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rootroot/32/37811_2.png) [@rootroot](https://root-forum.cern.ch/u/rootroot)\
**Post date:** [March 6, 2019, 2:44pm UTC](https://root-forum.cern.ch/t/how-to-extract-a-data-from-dna-root-file/16182/12 "2019-03-06T14:44:48Z")

</div>

In my case, after command:

```auto
root [0] .> dump.txt

```

Nothing happened, ROOT stacks and i can see only cursor lighting…Trying to wait 3 hour - nothing changed

Tryies this solution - [How to convert .root to .txt file?](https://root-forum.cern.ch/t/how-to-convert-root-to-txt-file/30534/4)  
and get this Errors;

```auto
In file included from input_line_10:1:
/home/local1/dnaphysics-build/d2.cxx:21:18: error: use of undeclared identifier 'fTree'
 ((TTreePlayer *)fTree->GetPlayer())->SetScanRedirect(kTRUE)
                 ^
/home/local1/dnaphysics-build/d2.cxx:22:18: error: use of undeclared identifier 'fTree'
 ((TTreePlayer *)fTree->GetPlayer())->SetScanFileName(outputname);

```

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-extract-a-data-from-dna-root-file/16182)._
