Invalid query while trying to run a file

Hello.

I'm new here and I'd like to see if somebody can help with an issue I'm having. I have to execute a query in Teradata and the first line of the query is a RUN statement where I have to run a TXT file containing session, username and password to access the server. When I try to run this query I got a "Query is invaid error". The line is the following:

.RUN D:\Atividades\Recorrentes\Mandos\AcessoFastLoad.txt;

The strange thing is, I use this same syntax in another query, and it works. I just get the "Query is invalid" error with this specific query. The whole query is the following: