A vendor has provided us with a Windows Batch script that needs to have a return co开发者_JAVA技巧de of 0.
Per that vendor, there are safe to ignore messages being printed by the script.
The scripts are used for quiescing the application for a proper backup. Our backup software requires a return code of 0.
How can I do this?
End the script with:
exit /b 0
adding a line to the end of the script
Ver > nul
should do the trick
精彩评论