Community
    • Login

    Undo file associations

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 2.5k 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.
    • 8000sudios8
      8000sudios
      last edited by

      Hi so i recently set .bat to run with notepad++ (in the notepad++ settings/file associations) I want to undo this but i cant seem to get .bat to execute. I have undone the it in the file associations tab of notepad++ but it didn’t work. I have tried to uninstall notepad++ but it didn’t work. I dont have UserChoice under the .bat in regedit and i dont know what to do know. Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • Js jSJ
        Js jS
        last edited by

        this is a microsoft windows question

        please web search “ms windows bat file association”

        1 Reply Last reply Reply Quote 0
        • GordyPankG
          GordyPank
          last edited by

          I don’t know if you have figured this out by yourself yet, but it appears that Notepad ++ breaks several file associations (at least on my systems) that I have had to manually fix - .bat, .cmd, .ini, .inf, nfo. and .vbs. The easiest way to fix this is via the ASSOC command from the (Administrator) command prompt. The best way to check which associations need to be looked at is to run ‘assoc’ and copy-and-paste the results into (ironically) Notepad ++ and look at which ones are associated with NPP. You can get the syntax by typing ‘assoc /?’ at a prompt. The proper associations for the ones listed are:
          .bat=batfile;
          .cmd=cmdfile;
          .inf=inffile;
          .ini=inifile;
          .nfo=MSInfoFile
          .vbs=VBSFile

          It also seems to grab .bash file extensions too, but unless you have the new Bash shell on Windows 10 installed this won’t matter.

          Hope this helps!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors