Community
    • Login

    Shorter executable script/exe filename

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 4.5k Views 1 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.
    • Картошка с лукомК Offline
      Картошка с луком
      last edited by

      When put into PATH it’s possible to use npp+ from command line
      cmd: notepad++ filename
      But comparing to vi/vim or nano, or native “notepad” command on Windows, notepad++ is hard to type.
      It would be nice to have some shorter version of notepad++.exe, maybe cmd/bat file, which could make possible to run notepad++ in this way or so:
      cmd: npp filename

      1 Reply Last reply Reply Quote 0
      • dailD Offline
        dail
        last edited by

        Just rename it yourself or create a symlink

        1 Reply Last reply Reply Quote 0
        • guy038G Offline
          guy038
          last edited by

          Hello, Картошка с луком,

          Here is, below, an other simple method :

          • Go to the C:\Windows\System32 folder

          • Right-click and create a new shortcut, just called NP

          • Choose, as target, the absolute path of Notepad++.exe

          • Probably, choose to start this program in the N++ installation folder

          Then, to run Notepad++.exe :

          • Start the Windows Run menu, with the Windows key + R shortcut

          • Just type NP and valid

          => N++ should start, at once, regardless to your present location :-)

          As for me, it works fine, with a portable N++ installation, from an archive file, on a Win XP machine :-)

          However, you may come across some related problems, with the W7/W8 configurations and/or the N++ Installer. I couldn’t test these cases as I don’t have, presently, any W7/W8 machine available ( I’m still, in Summer Holidays, guys, Ah, Ah ! )

          Best Regards,

          guy038

          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