Results 1 to 15 of 15
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    File Associations - default

    Is there any way to tell Win98/Explorer that from now on, If I double-click on a file type that isn't associated with a particular program, that it should just go right ahead and use Notepad.exe to open the file?

    MSoft, Corel and Lotus have grabbed the extents they want.

    I've tagged INI and SYS files with Notepad. Now each day sees me adding yet another association, all pointing to Notepad.


    I'd be happy if Notepad was used for anything I haven't yet specified; I'm happy enough un-associating individual extents, if that becomes necessary.

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    I've never heard of a way to do this.
    I have Notepad on my QuickLaunch toolbar, I simply open it and drag the files I want to examine from Explorer into it.

  3. #3
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    >and drag the files I want to examine

    Don't tell Phil, OK, because THIS has probably been around since before the days of Win3.0, right?

    I just tried it - it's better than luverly.

    I made a shortcut to Notepad.EXE on my desktop and dragged a BAT file to it. Better than luvverly because I can more easily inspect BAT files now; I never did like double-clicking on THOSE!


    Thanks for helping to make me a better Windows user.

  4. #4
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    I used XTeq to generate the attached file... just rename .TXT to .REG and merge. It should do the trick for you.
    Attached Files Attached Files

  5. #5
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    Another thing that you may find handy if you can't get to your desktop is to copy that same Notepad shortcut into you Send To folder. While you're at it create a shortcut for Send To in the Send To folder. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    -Mark

  6. #6
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    Hi Chris:
    I won't tell Phil either. But like a moth drawn to a flame...

    1. Open the registry & click the plus sign next to HKEY_CLASSES_ROOT
    2. Scroll to find Unknown.
    3. Under it, find Openas, then command. Write down the data listed in the right pane of the Explorer.
    4. Delete the Openas & Command keys.
    5. Select the shell folder under Unknown.
    6. Then choose Edit, New Key, & type a name, like OpenUnk
    7. Then choose Edit, New Key, & type Command
    8. In the right pane, click default, then modify, & type in the path to notepad (like C:WindowsNotepad.exe %1)
    9. Then click OpenUnk (or whatever you named it) & choose Edit, New Key, & put the Openas & Command back (including the information that was in the Data column of the right hand pane), but this time it's under OpenUnk, rather than under Unknown. The Data will probably be something like

    c:windowsrundll32.exe shell32.dll,OpenAs_RunDLL %1

    Now you can double click an unknown file & open it in Notepad.

    But whatever you do, don't tell Phil. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    P.S. You ought to get a better text editor like Metapad or something like that. Notepad just doesn't have much capability & has a small size limitation.

  7. #7
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    >Now you can double click an unknown file & open it in Notepad.

    Wonderful! Thanks Phil.

    I had some trepidation in following the instructions (Now, did he mean "modify" on this new item, or on the new new item?", but it all worked as i went ahead, confident that it would.


    A-MAZE-ing!

  8. #8
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    David, thanks for this. It looks like the same key as Phil suggested; am i right?

  9. #9
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    I believe that it is essentially the same. The file created by Xteq has the advantage of being able to be merged directly into your registry so you don't have to go through the hassle of finding the correct location, creating the keys, entering the commands, etc. (Unless, of course, you really enjoy that sort of thing!)

    For Xteq users, the tweak can be found at Appearance / Files&Folders / ANY File / Unknown File Command.

    If you are interested, Xteq also has a variation on this tweak that would allow you to add a "View with Notepad" (or any other command) to the context menu for all file types.
    Attached Images Attached Images

  10. #10
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    Hi David:
    I have XTeq installed, but have never learned how to use it very well. Did you generate this file by using the record mode? If not, how did you use it to generate your attachment?

    Thanks in advance.

  11. #11
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    I used the record mode. It operates fairly simply: turn it on, make the desired change, and turn it off. When recording is turned off it will prompt you to save the file; the default file type is .TXT, which can be renamed to .REG once it is saved. I prefer saving individual tweaks in their own separate file, but you are not limited to this.

  12. #12
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    Thanks very much, David. Now I have a new toy to use. I wonder if they have an easy way to create a reg file that undoes what you changed. I guess I'd just export the key & save it as a reg file before I screwed up...er, uh, I mean tweaked the key. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  13. #13
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    Use a three-step approach:
    1. <LI>Use Xteq to record the change you want to make;
      <LI>Use Xteq to record the change being reverted to its original status;
      <LI>Use the saved tweak from step 1 to put your desired change back.
    This will give you the registry codes needed to add and subtract the registry settings.

  14. #14
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    Thanks, David. I'll have to compare the 3 step approach with just exporting the key to begin with...not sure which is easier.

  15. #15
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File Associations - default

    I sure hope not.

    Easiest is to add Wordpad, Notepad if you insist, to the Send To menu.

    You can then right-click in Windoze Explorer and easily send appropriate files to Wordpad/Notepad.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •