@Kurt_Bremser thanks Kurt, it really worked. The interesting point is that I don't get that error window when I run the bat file directly. Now I realized that I get that error window when I run the batch script inside the VBA code, even if the process works without problem.
It is a bit interesting, because on SAS page, it says that error page appears if some code line is not correct in SAS when running the batch code. But as I said, when I click and run the batch file directly, that window doesn't appear.
... View more