Community
    • Login

    Select and run option

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 3.6k 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.
    • sathish kulalS Offline
      sathish kulal
      last edited by

      I am new user for Notepad++ (moving from Scite/scintilla) Now I am looking for select and run/execute option in notepadd++. I didnt find that option, please help me.

      In Scite: if the file is bat file i can select code and do Ctrl+0 (zero), which execute that selected of code … This is helpfull on running anything and everything if it is bacth file.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @sathish kulal
        last edited by

        Hello sathish-kulal,

        the builtin function is Run (F5) which can execute an external program together with your file
        provided as a parameter.
        See here for a more detailed description.
        This means you can run batch files, python script, c program and so on but you provide your
        complete file like

        cmd /k python.exe “$(FULL_CURRENT_PATH)”

        “$(FULL_CURRENT_PATH)” is the path of the active document.

        In this article it is also mentioned that there is a plugin called NppExec which has much more functionality.
        Maybe worth to try it as well.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0

        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