Community
    • Login

    Replace Notepad.exe

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    11 Posts 4 Posters 7.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jim DaileyJ Offline
      Jim Dailey
      last edited by

      @Matthew-Reed

      Install notepad++ somewhere else on your hard drive (c:\notepad++ will do).

      Change your PATH environment variable: set PATH=c:\notepad++;%PATH%

      Rename Notepad++.exe to notepad.exe

      That should do it.

      1 Reply Last reply Reply Quote 0
      • Matthew ReedM Offline
        Matthew Reed
        last edited by Matthew Reed

        Currently notepad++ is installed in C:\Program Files\notepad++ (W10, 64 bit)

        And I have updated the path to that location.

        It seems that renaming the file is what causes the problem.

        Thanks for the suggestion! :)

        To test this I copied notepad++.exe to notepad.exe and kept it in the c:\Program Files\notepad++ directory.

        It will not execute!

        -Matt

        1 Reply Last reply Reply Quote 0
        • Matthew ReedM Offline
          Matthew Reed
          last edited by

          ALso, I have been looking at the EXE file to see if perhaps I could change all the “notepad++” strings to just “notepad”.

          And, I found dozens and dozens of funny quotes!

          Like: Kids are like farts… you can only stand yours.

          How do you turn these on?

          -Matt

          Claudia FrankC 2 Replies Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Matthew Reed
            last edited by

            @Matthew-Reed

            How do you turn these on?

            type the word random, highlight it and press f1

            Cheers
            Claudia

            Scott SumnerS 1 Reply Last reply Reply Quote 1
            • Claudia FrankC Offline
              Claudia Frank @Matthew Reed
              last edited by

              @Matthew-Reed

              what about using a hard link instead?

              Cheers
              Claudia

              1 Reply Last reply Reply Quote 1
              • Matthew ReedM Offline
                Matthew Reed
                last edited by

                Thanks Claudia!

                Weirder and weirder… If I create a hard-link named “testit.exe” it works. If I make a hard-link named “notepad.exe” it does not.

                This has to be a windows thing. Something in windows is borking it up.

                -Matt

                Claudia FrankC 1 Reply Last reply Reply Quote 1
                • Claudia FrankC Offline
                  Claudia Frank @Matthew Reed
                  last edited by

                  @Matthew-Reed

                  So I assume that notepad.exe is on the list of “secure” applications.
                  Unfortunately I do not have any windows to play with it .
                  What I would do is to run sysinternals procmon to see what is really going on.
                  Maybe this gives a hint what needs to be done.

                  Cheers
                  Claudia

                  1 Reply Last reply Reply Quote 0
                  • Scott SumnerS Offline
                    Scott Sumner @Claudia Frank
                    last edited by

                    @Claudia-Frank

                    type the word random, highlight it and press f1

                    This is supposed to do something?..didn’t for me.

                    Claudia FrankC 1 Reply Last reply Reply Quote 0
                    • Claudia FrankC Offline
                      Claudia Frank @Scott Sumner
                      last edited by Claudia Frank

                      @Scott-Sumner
                      Hi Scott,

                      yes, it opens a new doc and writes one of the easter eggs into.

                      You did type the word random, didn’t you?

                      Cheers
                      Claudia

                      Scott SumnerS 1 Reply Last reply Reply Quote 0
                      • Scott SumnerS Offline
                        Scott Sumner @Claudia Frank
                        last edited by

                        @Claudia-Frank

                        Ah, at some point I must have unmapped F1. Looking at a default install, F1 is tied to “About Notepad++”. Activating “About Notepad++” via the mouse (on the ‘?’ menu) (with random highlighted) invokes the Easter Egg functionality, so it appears it is tied to that function rather than only the keystroke.

                        1 Reply Last reply Reply Quote 1

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors