# Where does WatirMaker store its code

**URL:** <https://www.ruby-forum.com/t/where-does-watirmaker-store-its-code/90909>\
**Category:** Ruby\
**Created:** [April 2, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/where-does-watirmaker-store-its-code/90909 "2007-04-02T23:01:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/59ef9b/32.png) [@brad](https://www.ruby-forum.com/u/brad)\
**Post date:** [April 2, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/where-does-watirmaker-store-its-code/90909/1 "2007-04-02T23:01:45Z")

</div>

I can’t seem to find the code anywhere after running WatirMaker. Is  
it supposed to export into a .txt or .rb file? It seems to be writing  
the code in the DOS window but it is hard to copy the code from DOS  
and put it into the correct file type to repeat the steps that  
WatirMaker recorded.

---

<div class="post-metadata">

**Author:** ![brad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/59ef9b/32.png) [@brad](https://www.ruby-forum.com/u/brad)\
**Post date:** [April 3, 2007, 12:45am UTC](https://www.ruby-forum.com/t/where-does-watirmaker-store-its-code/90909/2 "2007-04-03T00:45:57Z")

</div>

Brad wrote:

> I can’t seem to find the code anywhere after running WatirMaker. Is  
> it supposed to export into a .txt or .rb file? It seems to be writing  
> the code in the DOS window but it is hard to copy the code from DOS  
> and put it into the correct file type to repeat the steps that  
> WatirMaker recorded.

If it writes the code produced to the CLI, you can just redirect the  
output by appending " \> myfile.myextension" to your usual invocation of  
WatirMaker.

Note: This is an OS feature, not a Ruby feature. 😉

–  
Phillip “CynicalRyan” Gawlowski  
[http://cynicalryan.110mb.com/](http://cynicalryan.110mb.com/)

Rule of Open-Source Programming #11:

When a developer says he will work on something, he or she means  
“maybe”.
