I was working with an application today that opened an hta file, and was looking at the options to open it without having the annoying prompt asking whether you want to save or open the file when opening it with Internet Explorer.

In reading about HTAs, I found out that opening HTAs in Internet Explorer is a built in security feature that cannot be overriden.

Digging around some more, I found a workaround that opens the .hta file without any additional prompts. In order to do this:

  1. Right click on an .hta file, and select “Open with…”
  2. from the list, select “Microsoft (R) HTML Application host.”
  3. Make sure the “Always use the selected program to open this kind of file”

That’s all, now when you double click your hta file, it will open right up without any annoying prompts.

Print Friendly, PDF & Email
Subscribe By Email for Updates.