Miért használja a Windows még a shortcut fájlokat a szimbolikus hivatkozások helyett?

Tartalomjegyzék:

Miért használja a Windows még a shortcut fájlokat a szimbolikus hivatkozások helyett?
Miért használja a Windows még a shortcut fájlokat a szimbolikus hivatkozások helyett?

Videó: Miért használja a Windows még a shortcut fájlokat a szimbolikus hivatkozások helyett?

Videó: Miért használja a Windows még a shortcut fájlokat a szimbolikus hivatkozások helyett?
Videó: FRIDAY THE 13TH KILLER PUZZLE LIVE - YouTube 2024, Lehet
Anonim
Mivel a Windows folyamatosan fejlődött és több funkcióval bővült az idő múlásával, lehet, hogy kíváncsi arra, hogy miért is használja a régebbi "funkciókat", például a parancsikonokat. Ezzel kapcsolatban a mai SuperUser Q & A hozzászólás válaszol a zavaros olvasó kérdéseire.
Mivel a Windows folyamatosan fejlődött és több funkcióval bővült az idő múlásával, lehet, hogy kíváncsi arra, hogy miért is használja a régebbi "funkciókat", például a parancsikonokat. Ezzel kapcsolatban a mai SuperUser Q & A hozzászólás válaszol a zavaros olvasó kérdéseire.

A mai Kérdések és válaszok munkamenetét a SuperUser - a Stack Exchange, a Q & A weboldalak közösség által irányított csoportosulásának részlegével - köszönheti.

A kérdés

A SuperUser olvasó, Peter Mortensen szeretné tudni, hogy a Windows továbbra is hivatkozási fájlokat használ a szimbolikus linkek helyett:

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?

Miért használja a Windows továbbra is parancsikonokat szimbolikus linkek helyett?

A válasz

A Jonuónak a SuperUser munkatársa a választ számunkra:

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.

Van valami a magyarázathoz? Hangzik ki a megjegyzésekben. Szeretne többet válaszolni a többi technikus-tudós Stack Exchange felhasználóiról? Nézze meg a teljes vitafonalat itt.

Ajánlott: