# Too many stacked Strings

**URL:** <https://swi-prolog.discourse.group/t/too-many-stacked-strings/4219>\
**Category:** Help!\
**Created:** [July 30, 2021, 6:48pm UTC](https://swi-prolog.discourse.group/t/too-many-stacked-strings/4219 "2021-07-30T18:48:48Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [July 31, 2021, 11:42am UTC](https://swi-prolog.discourse.group/t/too-many-stacked-strings/4219/28 "2021-07-31T11:42:48Z")

</div>

> [@peter.ludemann](#):
>
> so you might wish to redirect the output to a file. I don’t know how to do this on Windows

This reply is meant for the OP.

Two options using SWI-Prolog:

1. [Protocol/1 (Used to capture screen to file)](https://swi-prolog.discourse.group/t/protocol-1-used-to-capture-screen-to-file/675)
2. Use tell/1 and told/0. e.g. `tell('my_file.txt'), goal(Arguments), told.`

---

_[View the full topic](https://swi-prolog.discourse.group/t/too-many-stacked-strings/4219)._
