Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 490 Views
    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
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors