Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9093991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:14:31+00:00 2026-06-16T23:14:31+00:00

We are using many HTA scripts. In order to test the newer version of

  • 0

We are using many HTA scripts. In order to test the newer version of Windows we installed Windows8 with IE 10. We are currently using an application (.exe) as a hub to start the correct hta that needs to run.

We are using this setup on 2000,XP,Vista,7 machine with IE ranging from 6 to 9 and it worked fine so far. But the application has stop to work on the latest windows.

Here is my question:
Is there a known issue with HTA called by another application under Windows 8 and IE10?

Here is an example with two HTA scripts:

If you run test_2.hta the script works, if you run the script test_1 the script works but test_2.hta does not start.

1- test_1.hta

    <html>
       <head>
          <title> Test </title>
       </head>
       <script>
          new ActiveXObject("WScript.Shell").Run("mshta test_2.hta", 1, false);
      </script>
      <body>
         Allo buddy
      </body>
    </html>

2- test_2.hta

    <html>
       <head>
          <title> Test </title>
       </head>
       <script>
          alert('Hello world');
      </script>
      <body>
         Allo buddy
      </body>
    </html>

Any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:14:32+00:00Added an answer on June 16, 2026 at 11:14 pm

    This sample works fine for me. I removed ‘mshta’. When using cmd.exe command ‘start’ you don’t need to include the app, only the document file and will use file associations (.hta) launch the right app (iexplore/mshta). Seems to work in this case.

    <html>
        <head>
            <title> Test </title>
        </head>
        <script>
            new ActiveXObject("WScript.Shell").Run("hardware.hta", 1, false);
        </script>
        <body>
            <p>Allo buddy</p>
            <p><a href=http://www.robvanderwoude.com/htaexamples.php>The only good HTA samples.</a></p>
        </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a working Rails application on version 2.3.5 - I am using many
I'm working on a project using many external library on windows. I got problem
Our project is using many static libraries to build the application. How can we
I am developing a windows phone 7 app. I am using many controls in
I am working in video application in my application am using many controls for
For my last project i was using many frames in my delphi application ,so
I'm developing a swing based application where I'm using many FileDialogs? So I say
In my Controllers I'm using many find_by_sql() stuff, and to avoid SQL injection I'm
We have a project that’s using many C++11 facilities, and we thought about this
I have a variable that I'm using many times in a class and as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.