• Login
Community
  • Login

Shorter executable script/exe filename

Scheduled Pinned Locked Moved General Discussion
3 Posts 3 Posters 3.9k 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.
  • К
    Картошка с луком
    last edited by Aug 20, 2015, 7:05 PM

    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
    • D
      dail
      last edited by Aug 20, 2015, 7:16 PM

      Just rename it yourself or create a symlink

      1 Reply Last reply Reply Quote 0
      • G
        guy038
        last edited by Aug 20, 2015, 8:48 PM

        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
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors