I have a batch file that i am testing, all i want to do is the following
CALL ping.bat
Then after that batch file has run i want to run ano
Assume you have 3 batch files.
If you have all the three batch files in a single folder,(lets say under C:\NewFolder) then if you double click ping3.bat, you won't get any error for sure.
Note: If you don't want to wait for the first command to complete, then use start keyword which just initiate the process and proceed with the next line in the batch file, whereas call
will do it sequentially(comes to next line only after the current process completes , start allows parallelism)
To do it parallel use the below two lines of code in the ping3.bat:
start ping1.bat
start ping2.bat