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 166 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.
    • Jim HarrisJ
      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
        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
          PeterJones @Jim Harris
          last edited by

          @Jim-Harris ,

          See, for example, this official request and accompanying discussion

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors