I defined a function, the strange thing is that the function lines are executed even if I do NOT call the function !!
echo off cls REM call:ctrlService "stop" "126.96.36.199" echo.SERVICES STARTED :ctrlService - Generic function echo.Parameter 1: %~1 echo.Parameter 2: %~2 dir GOTO:EOF echo on
I see the
echo statements executed, without values displayed for the relative parameters. And the
dir command is executed too !
How can I stop the function from being executed on it's own ?