• Login
Community
  • Login

Is it possible to delete plugins from command line

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 2 Posters 598 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.
  • M
    moltra
    last edited by Apr 6, 2023, 3:25 PM

    I just installed a plugin and now I cannot open Notepad ++. I can open it if I use the -noPlugin option on the command line. But it does not show any plugins being installed. I am also unable to delete the plugin folder due to Company restrictions.

    I would think that the option noPlugin would show the installed plugin and allow them to be deleted.

    Any Ideas?

    P 1 Reply Last reply Apr 6, 2023, 3:38 PM Reply Quote 0
    • P
      PeterJones @moltra
      last edited by Apr 6, 2023, 3:38 PM

      @moltra said in Is it possible to delete plugins from command line:

      I am also unable to delete the plugin folder due to Company restrictions.

      If you are not able to delete from the Plugins Directory, how did you install? Notepad++ doesn’t have any magic permissions beyond you. It can ask for elevated permissions through the UAC if needed… but then, so can you – for example, run an elevated cmd.exe.

      So I would suggest: run cmd.exe as Administrator, then del /S "c:\Program Files\Notepad++\Plugins\BadPluginNameHere"

      M 1 Reply Last reply Apr 6, 2023, 3:43 PM Reply Quote 1
      • M
        moltra @PeterJones
        last edited by Apr 6, 2023, 3:43 PM

        @PeterJones The Company that I work for, uses a program for authorizing the installation of programs. and I think that they just need to add the program to it and it will let me install and delete the program. But I do not have permission to delete folders in the program files folder.
        I do not have permission to run programs as Admin.

        I might just have to uninstall Notepad++ and then reinstall it.

        P 1 Reply Last reply Apr 6, 2023, 3:46 PM Reply Quote 0
        • P
          PeterJones @moltra
          last edited by Apr 6, 2023, 3:46 PM

          @moltra said in Is it possible to delete plugins from command line:

          @PeterJones The Company that I work for, uses a program for authorizing the installation of programs. and I think that they just need to add the program to it and it will let me install and delete the program.
          But I do not have permission to delete folders in the program files folder.

          I am doubtful, then, whether the Plugins Admin would be able to delete a plugin, because it requires the ability to delete a folder. Then again, it allowed you to install the plugin, so maybe it would have.

          I do not have permission to run programs as Admin.

          I am then curious why you bothered asking “from the command line” if you don’t have a command line interface that has permissions to delete a folder.

          I might just have to uninstall Notepad++ and then reinstall it.

          Good luck.

          M 1 Reply Last reply Apr 6, 2023, 3:47 PM Reply Quote 1
          • M
            moltra @PeterJones
            last edited by Apr 6, 2023, 3:47 PM

            @PeterJones I can run from the command line, just not as an admin
            I have started Notepad++ with the noplugin option from the command line.

            P 1 Reply Last reply Apr 6, 2023, 3:50 PM Reply Quote 0
            • P
              PeterJones @moltra
              last edited by Apr 6, 2023, 3:50 PM

              @moltra said in Is it possible to delete plugins from command line:

              @PeterJones I can run from the command line, just not as an admin
              I have started Notepad++ with the noplugin option from the command line.

              You rather missed my point.

              But to make it clear: Notepad++ has no way to drive the Plugins Admin tool from the command line, so you cannot use command-line options to uninstall a specific plugin.

              M 1 Reply Last reply Apr 6, 2023, 3:51 PM Reply Quote 1
              • M
                moltra @PeterJones
                last edited by Apr 6, 2023, 3:51 PM

                @PeterJones ok thanks, I uninstalled it using the companies software center and it is still not starting. I am going to have to get IT support to help delete the Notepad++ folder and then I can reinstall.

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