Sometimes a Windows batch file works fine when executed from the command prompt but when executed by the script plug-in it seems to hang. This is because some executables expect to write out results to the screen and if it cannot it will hang. This can be fixed as follows:
Instead of supplying "script.bat" in the script plug-in, enter "script.bat > nul" or better yet "script.bat > c:\scriptsresult.txt".
If the above does not work individual lines in the script file (especially when calling an executable) can also be appended with "> nul" or "> filename"
If you create a script d.bat that looks like this:
and you place "d.bat" in your script plugin, the backup will never complete. But if you place "d.bat > nul" in the script plug-in it will execute and complete the backup. If you enter "d.bat > c:\result.txt" the results will be written to c:\results.txt.