# How to send the console text to a file?

**URL:** <https://swi-prolog.discourse.group/t/how-to-send-the-console-text-to-a-file/9298>\
**Category:** Help!\
**Created:** [September 18, 2025, 5:29pm UTC](https://swi-prolog.discourse.group/t/how-to-send-the-console-text-to-a-file/9298 "2025-09-18T17:29:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [September 18, 2025, 6:20pm UTC](https://swi-prolog.discourse.group/t/how-to-send-the-console-text-to-a-file/9298/6 "2025-09-18T18:20:55Z")

</div>

> Is there a way to send the text from the SWI Prolog console to a file?

This might be what you seek:

[Is there a way to send the text from the SWI Prolog console to a file?](https://swi-prolog.discourse.group/t/protocol-1-used-to-capture-screen-to-file/675)

* * *

FYI

This is a Discourse forum which includes below each topic a list of related topics.

 ![image](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/2X/5/5e861d061c523acd9d2287343f9a7273ee864bda.png)

---

_[View the full topic](https://swi-prolog.discourse.group/t/how-to-send-the-console-text-to-a-file/9298)._
