So I have
:function (
    file.bat
    echo test
    goto:function
)
When I call the function, file.bat get executed but nothing more happen, even when file.bat arrive to the end.
I tried to put the echo before the execution of file.bat and the text is printed, I figured out that the script stop running after the execution of a file. Is there a way to avoid that ?
 
    