Well I'd use SHELL %COMSPEC% /C and also place this after the SHELL line like Jochen asked, so that you can see what error is reported back.


"Returned error is : " + @error + " [" + @serror + "]" ?