By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,714 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,714 IT Pros & Developers. It's quick & easy.

Hta file type

P: n/a
I have a windows 2000 PC and it does not know what a hta file is.

any ideas.

Mark
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Lee
Mark said:

I have a windows 2000 PC and it does not know what a hta file is.

any ideas.


I believe you need to associate that file type with mshta.exe, which should be
in your System32 folder.

Jul 23 '05 #2

P: n/a
"Mark" <mm******@tpg.com.au> wrote in message
news:41********@dnews.tpgi.com.au...
I have a windows 2000 PC and it does not know what a hta file is.

any ideas.

Mark


Start > Run > type "cmd" hit enter
type "assoc .hta" hit enter
It should report:
..hta=htafile
type "ftype htafile" hit enter
It should report:
htafile=C:\WINNT\System32\mshta.exe "%1" %*

If "assoc" reports something other than "htafile", then someone has
changed the file association for the HTA file type on your machine and
registered some other application to handle it. You can "ftype" that
file type to determine which application.
If "assoc" reports:
File association not found for extension hta
then someone has removed the file association from your machine.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.