Here's my two lines in code:
intErr = objShell.Run("cscript.exe ""D:\sample.vbs""", 0, True)
intErr = objShell.Run("D:\sample.bat", 0, False)
I was told the 'True' or 'False' is to tell it whether or not to finish the script before continuing on the 2nd one. However on the first one, I was told it was to 'overwrite' the existing files if they exist. Or am I misled. I need to understand what differences are in the above. I mainly need the first one to complete before it continues to the second one.
Thanks,