in reply to Re: error: can't spawn "cmd.exe"
in thread error:cant spawn "cmd.exe"

thanks Athanasius ....your suggestions worked. I have applied ""(double quotes) and everything worked fine.