Community
    • Login

    Is it posssible to open and edit a Windows shortcut as a file instead of opening the target of the shortcut?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 789 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.
    • Jim HarrisJ Offline
      Jim Harris
      last edited by

      In some editors it is possible to open a desktop shortcut as a file and view the shortcut’s content instead of opening the shortcut’s target.

      Is this possible in Notepad?

      PeterJonesP 2 Replies Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Jim Harris
        last edited by

        @Jim-Harris ,

        Not as far as I know. Notepad++ is honoring the “contract” with the OS by following the link.

        The underlying format of a .lnk shortcut file is a binary format, not a text file, so it doesn’t make much sense to open it with a text editor.

        But if you really want to, you could just change the extension, open it, do your thing to the binary file in a text editor, close it, and change the extension back

        1 Reply Last reply Reply Quote 3
        • PeterJonesP Online
          PeterJones @Jim Harris
          last edited by

          @Jim-Harris ,

          See, for example, this official request and accompanying discussion

          1 Reply Last reply Reply Quote 1

          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