Tại sao Windows vẫn sử dụng các tệp Shortcut thay vì các liên kết tượng trưng?

Mục lục:

Tại sao Windows vẫn sử dụng các tệp Shortcut thay vì các liên kết tượng trưng?
Tại sao Windows vẫn sử dụng các tệp Shortcut thay vì các liên kết tượng trưng?

Video: Tại sao Windows vẫn sử dụng các tệp Shortcut thay vì các liên kết tượng trưng?

Video: Tại sao Windows vẫn sử dụng các tệp Shortcut thay vì các liên kết tượng trưng?
Video: Hướng dẫn live Tiktok trên PC mới nhất (2022) - YouTube 2024, Có thể
Anonim
Kể từ khi Windows đã tiếp tục phát triển và thêm nhiều chức năng hơn theo thời gian, bạn có thể thấy mình tò mò là tại sao nó tiếp tục sử dụng "tính năng" cũ hơn như các tập tin shortcut. Với ý nghĩ đó, bài đăng Hỏi & Đáp của SuperUser hôm nay có câu trả lời cho câu hỏi của người đọc bị nhầm lẫn.
Kể từ khi Windows đã tiếp tục phát triển và thêm nhiều chức năng hơn theo thời gian, bạn có thể thấy mình tò mò là tại sao nó tiếp tục sử dụng "tính năng" cũ hơn như các tập tin shortcut. Với ý nghĩ đó, bài đăng Hỏi & Đáp của SuperUser hôm nay có câu trả lời cho câu hỏi của người đọc bị nhầm lẫn.

Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp do cộng đồng điều hành.

Câu hỏi

Người đọc siêu người dùng Peter Mortensen muốn biết tại sao Windows tiếp tục sử dụng các tệp lối tắt thay vì các liên kết tượng trưng:

Windows XP and later versions support symbolic links, yet Windows continues to use shortcut files (which essentially store the location of the linked file as text). Why?

Tại sao Windows tiếp tục sử dụng các tệp lối tắt thay vì các liên kết tượng trưng?

Câu trả lời

Người đóng góp của SuperUser Jonno có câu trả lời cho chúng tôi:

There are a number of reasons. For example:

  1. You can store different levels of compatibility against several different shortcuts to the same exe file as they are interpreted by the shell, rather than the file system.
  2. Certain shortcut links do not actually exist in the file system. Some of them are simply references to GUIDs or special strings interpreted by the shell.
  3. You cannot include switches in a symbolic link. Sure, you can point to the exe file, but you cannot “tell” that exe file any further arguments.
  4. You cannot choose an icon for a symbolic link.
  5. You cannot choose what directory to work from in a symbolic link.
  6. Shortcut files do not have to point to just files, they can also be hyperlinks or protocol links (like.URL files).
  7. LNK files can exist on any file system. Symbolic links are handled by the file system itself, in the case of Windows, NTFS.
  8. There is no real need to replace them. They work, are tiny in size, and can be scaled up in the future should there ever be a need for more functionality to be added to them than what is already listed above.
  9. Administrative rights are required to create a symbolic link (with good reason), otherwise redirection of innocent files to malicious ones can be executed with very little work.

There are more reasons than this, but I think this is enough to get you started. Here is an MSDN blog link provided by grawity that provides more information about parts of this topic.

Có cái gì để thêm vào lời giải thích? Tắt âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.

Đề xuất: