dsbros:
I can add these commands inside my batch file at the initial part, which will verify the program and then the later in the same batch file there will be command for uploading (commands specific to module). So in single batch file click, I can verify and upload the program, correct?
I think that should work. You could try compiling and uploading the simple BLINK file to an Uno.
I am not sufficiently familiar with script files on Linux (similar to .bat files) so I use Python - but I guess you are competent using .bat files.
...R