I have one single Batch file with 2 functions in it:
1.) MAIN
2.) ASYNC
Now i try to call the ASYNC function out of the MAIN function without waiting for the completion of the ASYNCfunction. Is that possible?
Here is my Batch file:
@echo off
:MAIN
setlocal
echo Here i am in the Main Thread
start /b :ASYNC
echo Here i am in the Main Thread again
endlocal
exit /b 0
:ASYNC
setlocal
echo I am in the ASYNC Thread
timeout /T 100
endlocal
exit /b 0
Is there any possibility to run a function in a single batchfile asynchron from another function in the same batchfile without separating the functions to multiple files?
Greets & Thank you :D