How I can use predefined environment variables

Hello,
I’m trying to execute a Windows batch after backup with the variable SQLBAK_JOB_SUCCESS as a parameter but seems that doesn’t works because send as a parameter the variable and not the value, and this is my configuration:

The script print the value of the variable SQLBAK_JOB_SUCCESS

Regards,
Santi

Hello, this is the result of the script:

Regards,
Santi

Hello Ignasi_Camp,

Thank you for your message.

You need to wrap the variable SQLBAK_JOB_SUCCESS in %, as shown in this example: CMD Scripts – SQLBackupAndFTP

If you have any further questions, please feel free to ask.