Community
    • Login

    bat file opening in MS notepad, now to open in npp?

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 735 Views 2 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.
    • V S RawatV Offline
      V S Rawat
      last edited by

      When I right click on a bat file in windows explorer, I see

      • open, clicking which runs the file.
      • edit, that opens MS notepad.

      I want this edit to open file in npp instead.

      I tried going through npp menu - settings - file association. bat extenstion was not there, so I went to customize and added bat and registered.

      but that removed the right-click edit option altogether, and only “open” is remaining there, clicking which opens the file in npp for editing, but now I can’t run the bat file.

      so, please guide how to open bat file in npp instead of in MS notepad.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones
        last edited by

        If you have the Edit with Notepad++ entry applied to all file types, it shows up whether or not the program has an “association” with Notepad++. That’s the safer way to do that.

        Go see https://notepad-plus-plus.org/community/topic/18140/how-to-get-windows-explorer-right-click-menu-open-edit-with-notepad for a very recent discussion started on how to get that entry. (ie, it was the post I answered just before reading yours.)

        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