Double-clicking on file in Explorer doesn't open file

Double-clicking on file in Explorer doesn't open file

2
NewbieNewbie
2

    Dec 07, 2005#1

    I have UltraEdit 7.00a. It works great except for one issue.

    When I double-click on file X, UltraEdit opens with a blank screen and File X doesn't open in UltraEdit.
    I can open file X by using File - Open in UltraEdit.
    I can open file X by right clicking on the file and selecting UltraEdit.

    Is there a way to fix this?

    Thanks, Andy

    6,675585
    Grand MasterGrand Master
    6,675585

      Dec 08, 2005#2

      The file association in the registry for files with that extension is bad. I don't know your experience with the Registry Editor, but here is a step by step todo list.

      Start Regedit.exe in windows directory.

      Expand (open) HKEY_CLASSES_ROOT.

      Search for the file extension which has problems, for example .txt.

      Select this file extension in the left area and look now in the right area, which (Standard) key is associated to this extension (it's "txtfile" on my computer for .txt).

      Back to left area and scroll down to this key ("txtfile" in my example).

      Expand txtfile -> shell -> open -> command.

      In the right area you should now see the associated program with it's full path at (Standard). Double click on (Standard) for editing.

      Now verify and enter if necessary
      "C:\Program Files\UltraEdit\uedit32.exe" %1
      or
      "C:\Program Files\UltraEdit\uedit32.exe" "%L"

      Note: The path to uedit32.exe can be different on your computer.

      Now the problem should be solved.

      %1 is replaced by Windows Explorer with 8.3 formated path and file name when you double click on a file.

      %L is replaced by Windows Explorer with full long path and file name, which can contain spaces, so the parameter must be enclosed with "".
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Dec 09, 2005#3

        Thanks for the help. That makes sense. I can't test it because I'm on a company computer where we are not allowed to edit the registry ourselves and our IT is too backed up to help with a small issue like this right now. I was hoping it was something easier than the registry. I'll just have to use the right-click menu to open in UltraEdit until IT gets around to implementing your suggestion (in 2 - 3 weeks). Thanks.