Detecting wscript.exe Path
<p>Where is wscript.exe located in Windows? Is is possible to locate the path by the help of Windows Registry?</p>

<p>I need this for my application and it would be great to have a common solution that would give correct location for ranging between XP to Windows 10.</p>