dsbros:
This talks about upload, so I have to mention .bat file execute command in this code location, correct?
It all depends on what you're trying to accomplish. The upload recipes will only run when you click the Upload button. If you want your .bat file to be run when you click the Verify/Compile button then you would not want to add it to the upload recipe. Keep in mind that the Arduino IDE does the Verify process every time before uploading so if you add a custom recipe to the Verify process it will be run whether you do Verify or Upload.
dsbros:
it mentions about recipes, however I didn't find any command for executing .bat file.
You can run any executable. Whether that's an .exe or a .bat makes absolutely no difference.
dsbros:
Usually to run a batch file, we move to the directory containing the file and type the name of the batch file.
Or you can specify the path to the .bat file and run it from the current directory.
dsbros:
However, in this case how to mention the command?
I could keep trying to explain this in generalities but at this point it looks like that will be very time consuming. How about you provide complete details of what you're trying to accomplish?
dsbros:
I am newbie to this programming so its slightly difficult to understand
This isn't really a project for a newbie. This is something even most advanced Arduino users don't do. That doesn't mean you won't be able to accomplish it but you definitely can't expect this to be easy like the standard things a beginner would be expected to do.