Are Hardlinks Always Better than Shortcuts? If so, why use shortcuts?


  1. Posts : 235
    Windows 10 Home
       #1

    Are Hardlinks Always Better than Shortcuts? If so, why use shortcuts?


    This question must have been answered already but I couldn't seem to find it. Maybe it's just too simple of a question. Sorry if this is the case because I'm not an IT guy and some of my questions seems very newbish.

    Should I always use hardlinks instead of shortcuts?

    If I use shortcuts, if the target folder or file is moved, the shortcut gets busted and I don't know where the new target went.

    However, if I use hardlinks, even if I move the target folder or file, the link still remains intact.

    So, is there a reason why I should never use hardlinks all the time?
      My Computer


  2. Posts : 1,255
    Windows 10 Pro
       #2

    Shortcuts can do things that hard links cannot.

    Hard links only work within a physical volume. You can make a shortcut to another local drive, to an external drive, or even to a network location.

    In Windows, hard links only work with an NTFS volume. Shortcuts work with any file system.

    Shortcuts provide further options. Look in the shortcut properties for the details.
      My Computer


  3. Posts : 14,020
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #3

    What I saw on a Search of the Internet about hard links was more references to Linux and Unix than Windows.
      My Computers


  4. Posts : 1,811
    W7 Ultimate SP1 (64 bit), LM 19.2 MATE (64 bit), W10 Home 1703 (64 bit), W10 Pro 1703 (64 bit) VM
       #4

    Berton said:
    What I saw on a Search of the Internet about hard links was more references to Linux and Unix than Windows.
    Linux Distros tend to use a lot of Hard Links.
      My Computer


  5. Posts : 235
    Windows 10 Home
    Thread Starter
       #5

    But if I keep the hard links within one physical volume, would hard links always be "better". I hate shortcuts because when you move a folder, you always get these busted shortcuts and have to figure out where the original file or folder was moved to. AND, then make a new shortcut for it. It take a lot of time.

    What if you copy a volume that has hard links to another local drive, would the new copied hard links now point to the file or folder that has been copied to the new local drive?

    Thank you for any info you can provide. I just want to do something to save myself time. I get so many busted shortcuts all the time because I use shortcuts all the time.

    LMiller7 said:
    Shortcuts can do things that hard links cannot.

    Hard links only work within a physical volume. You can make a shortcut to another local drive, to an external drive, or even to a network location.

    In Windows, hard links only work with an NTFS volume. Shortcuts work with any file system.

    Shortcuts provide further options. Look in the shortcut properties for the details.
      My Computer


  6. Posts : 14,020
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #6

    The issue usually is in the Properties of a Shortcut, example of a simple shortcut for checking the version of Win10:
    Attachment 196754
    It has to do with the 'path' to the file involved, usually an .exe/Executable that runs the program. Break that path such as in moving the Folder containing the .exe file will result in a generic icon usually unclickable. The shortcut has to either be recreated or have the Properties edited to show the new location for that .exe file.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:39.
Find Us




Windows 10 Forums