> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/es/knowledge-base/how-to-articles/test-variables.md).

# Probar variables

{% hint style="warning" %}
Para que la contraseña esté disponible como variable, debe ir a ***Configuración de seguridad*** de la entrada y marcar ***Permitir contraseña en variable***. Si la opción aparece atenuada, debe activar ***Permitir variables de contraseña para todas las entradas*** y ***Permitir variable de contraseña en macros*** en ***Administración – Configuración del sistema – Política de contraseñas***.
{% endhint %}

{% hint style="warning" %}
Si utiliza el modo de credenciales ***Vinculado (bóveda)*** en sus entradas, también deberá habilitar la opción ***Permitir contraseña en variable*** en la entrada de credenciales vinculada.
{% endhint %}

La ***Auto Typing Macro*** de Remote Desktop Manager resulta muy útil para simular la interacción del usuario. Se utiliza sobre todo para realizar el inicio de sesión automático en páginas web, pero puede ejecutar comandos de shell avanzados en varios sistemas operativos.

A veces necesita confirmar exactamente qué se enviará al utilizar nuestras variables.

Un truco sencillo consiste en crear un fichero por lotes que simplemente escriba lo que se envíe en la línea de comandos.

Solo tiene que copiar lo siguiente en su editor favorito y guardarlo como un fichero de comandos; yo he llamado al mío parrot.bat

```
@echo off
echo.
echo.
echo %*
echo.
echo.
pause
```

Ahora solo se trata de crear una sesión de Línea de comandos (Aplicación externa) y establecer la línea de comandos con la ruta del fichero parrot.bat y añadir las variables justo después.

`"C:\tools\parrot.bat" $DOMAIN$ $IP$ $USERNAME$`

Ahora, al ejecutar la entrada, verá exactamente qué valores se envían.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/rdm/es/knowledge-base/how-to-articles/test-variables.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
