Windows 8 and 8.1 Forums


File Asscociation Problem

  1. #1


    Posts : 3
    Windows 8 Pro

    File Asscociation Problem


    Hi,

    I have copied HyperTerminal that I use quite a lot from an XP machine to a W8 machine but am unable to associate the .ht file type with HyperTerminal so that double-clicking launches the app, but other than that it works fine.

    When I try to make the association I get the error message:

    Title: Cannot associate file type with this program
    Message: The program you have selected cannot be associated with this file type. Please choose another program.

    What restriction am I falling foul of and is there a way around it?

    HyperTerminal is in the Program Files (x86) folder.

    With thanks

    Jamie

      My System SpecsSystem Spec

  2. #2


    Posts : 2,191
    Windows 8.1


    Did you also place the hypertrm.dll in c:\Windows\System32\?
      My System SpecsSystem Spec

  3. #3


    Posts : 3
    Windows 8 Pro


    It's in the same folder as the exe, but it runs ok so would that matter for this problem?
      My System SpecsSystem Spec

  4. #4


    Posts : 2,191
    Windows 8.1


    Quote Originally Posted by fraserj View Post
    It's in the same folder as the exe, but it runs ok so would that matter for this problem?
    I honestly can't say at this point but it might be worth a try to move the dll to the System32 folder. This should give you the ability to execute it from the run box and it might also end up appearing as an app because of its new location. Give it a shot and see what happens, then reboot and try to associate the file extension again.
      My System SpecsSystem Spec

  5. #5


    Posts : 3
    Windows 8 Pro

    No Luck


    Hi, Unfortunately I still can't associate the .ht file with HyperTerminal. Anyone know what W8 checks for when deciding if an association is allowed? Thanks
      My System SpecsSystem Spec

  6. #6


    Posts : 1
    Windows 8.1 Pro


    Hi fraserj,

    I had run into the same problem you have encountered, and have accidentally discovered a fix/workaround.

    Please try doing the following:
    • Double-click on your .ht file, and open it with Notepad
    • Enter your registry, and navigate to the following key: [HKEY_CLASSES_ROOT\ht_auto_file\shell\open\command]
    • Under the (Default) string, replace the Notepad.exe path with the path of your HyperTerminal application. It should look something like "C:\Program Files (x86)\HyperTerminal\hypertrm.exe"
    • Double-click your .ht file again. With any luck, it should open in HyperTerminal now.


    Cheers,
    Darkwyvurne
      My System SpecsSystem Spec

  7. #7


    Posts : 1
    Windows 8.1


    Quote Originally Posted by darkwyvurne View Post
    Hi fraserj,

    I had run into the same problem you have encountered, and have accidentally discovered a fix/workaround.

    Please try doing the following:
    • Double-click on your .ht file, and open it with Notepad
    • Enter your registry, and navigate to the following key: [HKEY_CLASSES_ROOT\ht_auto_file\shell\open\command]
    • Under the (Default) string, replace the Notepad.exe path with the path of your HyperTerminal application. It should look something like "C:\Program Files (x86)\HyperTerminal\hypertrm.exe"
    • Double-click your .ht file again. With any luck, it should open in HyperTerminal now.


    Cheers,
    Darkwyvurne
    Beings as the original poster didn't bother to reply to this, I can confirm that your solution works great. Thanks!
      My System SpecsSystem Spec

File Asscociation Problem
Related Threads
Problem with File explorer in General Support
I'm having this problem where I can't access file explorer. When I click it it seems to reset itself and nothing else happens. The only way I can access my files is by finding them through the "search" option, they all seem to be fine. I've been told to use the command "sfc/scannow" in the...
So i'm trying to delete this file i have in my downloads folder, which is a normal .avi file. however, this file is really broken, it wont delete. I suspect this file makes my folder not showing thumbnails and acting slow and sometimes wont show anything at all, just a loading bar thing. i...
File Corruption Problem... in Performance & Maintenance
Using the sfc command, I found some corrupted windows files but it was unable to repair them... Is there any way I can repair the files without having to reset or refresh my computer and lose everything I installed? I found something called DISM, but when I used it, it said unable to find source...
file copy problem in General Support
I have a Lenovo Thinkpad 2 Tablet. But I am having trouble with copying to my microSD drive. I have a Sandisk 64GB microSD card with exFAT formatting. When I write to it from the desktop, the files do not work. For example, when copying a video file from the desktop or the USB drive to the microSD...
Video File Problem in General Support
So all the video files I have saved on my laptop don't show a preview screen for the video like they did on Windows 7. I've recently changed from 7 to 8 and this is strange. If you don't know what I'm talking about look at the attachment. Any help to fix this would be greatly appreciated.
Solved Problem with File History in Performance & Maintenance
Some of you may recall that I have problems with Windows 7 File Recovery creating multiple system images although I had plenty of free space on my internal drive D:. Yesterday, however, I noticed that File History stopped making backups (also on D: on March 22. The Event Viewer displays the...
Have a file transfer problem in General Support
I transferred my win98 files (excel, and pics) to a new windows 8 computer and the computer won't boot up now any help out there
Eight Forums Android App Eight Forums IOS App Follow us on Facebook