If %COMSPEC%" /C "echo test ok" works fine, then it is certainly not a COMSPEC variable issue. When you hit that error and before clicking 'ok' on the GUI screen, did you check if "temp_check_comspec.bat" exist in that temp location?
On Fri, Jun 9, 2017 at 3:21 PM, Nithyanantham Shanmugam (nithshan) <nithshan@cisco.com> wrote: