I have a site within a corporate portal (fully secure) that launches several applications tied to a certain business group. The problem I am having is one of the file paths I need to Launch has a ² in the path. This software is installed on more than 3000 computers across the globe, so changing the path inst very functional. Here is the snippet of code I am using:
<a href="javascript:LaunchApp1()">MC2 / ICE</a>
<script>
      function LaunchApp1() {
         if (navigator.userAgent.indexOf("WOW64") != -1 || 
            navigator.userAgent.indexOf("Win64") != -1 ){
            var ws = new ActiveXObject("WScript.Shell");
            ws.Exec('"C:\\Program Files (x86)\\MC² Software\\ice.exe"');
         }
         else {
           var ws = new ActiveXObject("WScript.Shell");
           ws.Exec("C:\\Program Files\\MC² Software\\ice.exe");
         }
      }
</script>
Any ideas on how to get around the squared character? Have extensively search everywhere.
Thanks!