Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Shorter executable script/exe filename

    General Discussion
    3
    3
    3401
    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

      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
      • dail
        dail last edited by

        Just rename it yourself or create a symlink

        1 Reply Last reply Reply Quote 0
        • guy038
          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
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors