1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

notepad problems

Discussion in 'Windows 10' started by nichos, Jun 19, 2017 at 4:36 PM.

Advertisement
  1. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    Hi,
    Trying to install metapad & messed up my PC & when I click on notepad a window opens giving choices & have to click on notepad then OK to open it.

    There is notepad in windows & system32, how can I get me notepad proper again?

    I would prefer metapad or notepad2 but could not succeed with either.

    Can you help please, ............thanx ...........nick


    Home made CPU Intel Core 2 Quad Pro Q6600 95W 2.4GHz, OCZ Vendetta Cpu Cooler, 2x2GB, 240-pin DIMM, DDR2 800 (400mhz) PC2-6400, EVGA GeForce 6600 GTX, HD sata1 TB, Corsair TX750M Psu, X45, Win8.1 64
     
  2. Sponsor

  3. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    BTW I use Win 10 n0w
     
  4. jenae

    jenae

    Joined:
    Mar 16, 2013
    Messages:
    407
    Hi, from your post I am not clear what your problem is, however I suspect we can find out from these cmd's.

    Go to search and type:- command prompt, right click on the returned command prompt and select "run as administrator" an elevated command prompt will open. Copy and paste each of these cmds, one at a time, pressing enter, three notepads will be created with not a lot of data (we are reading the registry entries, perfectly safe nothing is being altered).

    reg query "HKCU\Software\Microsoft\Notepad" > 0 & notepad 0

    reg query "HKCR\*\shell\Open with Notepad\command" > 0 & notepad 0

    reg query "HKCR\.txt" /s > 0 & notepad 0

    Please copy paste the contents of the notepads here.
     
  5. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    1.
    HKEY_CLASSES_ROOT\.txt
    (Default) REG_SZ txtfile
    Content Type REG_SZ text/plain
    PerceivedType REG_SZ text

    HKEY_CLASSES_ROOT\.txt\OpenWithProgIDs
    soffice.StarCalcDocument.6 REG_SZ
    soffice.StarWriterDocument.6 REG_SZ

    HKEY_CLASSES_ROOT\.txt\PersistentHandler
    (Default) REG_SZ {5e941d80-bf96-11cd-b579-08002b30bfeb}

    HKEY_CLASSES_ROOT\.txt\ShellNew
    ItemName REG_EXPAND_SZ @%SystemRoot%\system32\notepad.exe,-470
    NullFile REG_SZ

    2.
    HKEY_CLASSES_ROOT\.txt
    (Default) REG_SZ txtfile
    Content Type REG_SZ text/plain
    PerceivedType REG_SZ text

    HKEY_CLASSES_ROOT\.txt\OpenWithProgIDs
    soffice.StarCalcDocument.6 REG_SZ
    soffice.StarWriterDocument.6 REG_SZ

    HKEY_CLASSES_ROOT\.txt\PersistentHandler
    (Default) REG_SZ {5e941d80-bf96-11cd-b579-08002b30bfeb}

    HKEY_CLASSES_ROOT\.txt\ShellNew
    ItemName REG_EXPAND_SZ @%SystemRoot%\system32\notepad.exe,-470
    NullFile REG_SZ

    3.
    HKEY_CURRENT_USER\Software\Microsoft\Notepad
    iWindowPosX REG_DWORD 0x3f
    iWindowPosY REG_DWORD 0x6f
    iWindowPosDX REG_DWORD 0x1d5
    iWindowPosDY REG_DWORD 0x2d6
    fWrap REG_DWORD 0x1
    StatusBar REG_DWORD 0x0
     
  6. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    I get this square instead of a vertical line
    for a cursor when I type anywhere,
    i.e word, emails, notepad etc.
     

    Attached Files:

  7. jenae

    jenae

    Joined:
    Mar 16, 2013
    Messages:
    407
    Hi, yes some changes needed to get notepad back, what happened when you ran:-

    reg query "HKCR\*\shell\Open with Notepad\command" > 0 & notepad 0

    I see no response.
     
  8. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    Thanx, but how to get notepad back??
     
  9. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    When I type in CND ADMIN:-
    reg query "HKCR\*\shell\Open with Notepad\command" > 0 & notepad 0

    a "o-notepad" opens empty of text.
     
  10. jenae

    jenae

    Joined:
    Mar 16, 2013
    Messages:
    407
    Hi, I have written two binary files for you they will merge with the registry and return notepad settings to defaults. Open each of the .zip files below, they will return note.reg and notes.reg, double click on each of these files and agree to add to the registry. After this restart computer and try to open notepad.
     

    Attached Files:

  11. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    Thanx,

    I did both but it still needs to choose it & OK it to open.
     
  12. jenae

    jenae

    Joined:
    Mar 16, 2013
    Messages:
    407
    Hi, I am a little confused, when you go to notepad (c;\windows\notepad.exe or C:\windows\system32\notepad.exe) right click select properties, are both the same?

    Can you show us exactly what happens if you right click on either of these notepads and select "open"
     
  13. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    OK,

    Opened one & seems to work, the right one in attached.

    But, I made a shortcut of it on desktop, wrote something in it & saved it as "Video Cards", shown between the two shown in attachment.

    Now when I try to open this Video Cards file I get what is shown on the left side in attached & to open it I have to highlight one of the choices & click OK to open it & see the text in it.

    My desktop, as you can see, is full of these white files that I created before the mess-up, when all were blueish icons, & now after the mess-up all turned into these white files needing the above action to open them. .........nick

    PS. just noticed that if I right click on one I can choose "open with notepad" but again is not the same as I used to double click only !!!.
     

    Attached Files:

    Last edited: Jun 21, 2017 at 7:17 AM
  14. jenae

    jenae

    Joined:
    Mar 16, 2013
    Messages:
    407
    Hi, lets make sure windows file associations are correct, press the win + r keys together in the run dialogue box copy paste:-

    explorer shell:::{17cd9488-1228-4b2f-88ce-4298e93e0966} -Microsoft.DefaultPrograms\pageFileAssoc (press OK)

    Scroll until you find .txt and make sure it opens with notepad.

    Next it appears you have a problem with file associations more generally. WE will return these two to defaults Lnk & Ico, this is perfectly safe, as you will be using the default settings.

    AS before two .zip files are attached they return lnk.reg and Ico.reg double click on each and agree to add to registry. After this restart computer. Let us know how you get on.
     

    Attached Files:

    • Lnk.zip
      File size:
      1.4 KB
      Views:
      0
    • Ico.zip
      File size:
      1.4 KB
      Views:
      0
  15. nichos

    nichos Thread Starter

    Joined:
    Mar 30, 2009
    Messages:
    474
    Thanx again for your patience.

    All this time I have been looking for "open with" on the right click but it was not there. Now for some reason, after carrying out all your instruction the last few days it appeared today & with "choose another app I chose "Notepad" & "always use this to open txt files", and mow I have the Notepad at once on double clicking.

    Am I going senile or what? ......nick
     
  16. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...

Short URL to this thread: https://techguy.org/1191738