Is it possible for a webpage to excecute a windows CMD command on client side? I have searched web for this query but could not find any answers.
Unfortunately this is not possible. This would give huge challenges on security. Think for example about malicious use of this function where can be taken control of the local machine from the outside.