---
title: Save Variable to File
description: "![](https://legacy.rtila.com/wp-content/uploads/edd/2024/02/Custom-Command-Save-Variable-to-File.webp) **Description** This Custom Command allows you to save dynamic content into a file. ******How to configure and use this Custom Command**** :** ![](https://legacy.rtila.com/wp-content/uploads/2024/02/Save-variable-to-file.png) 1) Paste the directory path or choose a random file within the directory where you intend…"
url: "https://legacy.rtila.com/docs/save-variable-to-file/"
updated: "2025-01-05"
category: Custom Commands
---

# Save Variable to File

![](https://legacy.rtila.com/wp-content/uploads/edd/2024/02/Custom-Command-Save-Variable-to-File.webp)

   **Description**

This Custom Command allows you to save dynamic content into a file.    ******How to configure and use this Custom Command**** :**     ![](https://legacy.rtila.com/wp-content/uploads/2024/02/Save-variable-to-file.png)    1) Paste the directory path or choose a random file within the directory where you intend to save the file containing your dynamic content.

2) The variable containing the content or the content itself.

3) The file name or leave empty to use default filename.

4) The file format you wish to use for saving your file.
    ****Watch Video Demo**** :  [![](https://legacy.rtila.com/wp-content/uploads/2024/02/Save-Variable-to-File-1.jpg)](https://youtu.be/X-jyl9Yebic)
