Home >Common Problem >What is .lnk file?
.lnk file is a kind of file used to point to other files. These files are usually called shortcut files. They are usually placed on the hard disk as shortcuts to facilitate users to call them quickly.
The operating environment of this article: Windows 7 system, Dell G3 computer.
The lnk file is a file used to point to other files. These files are usually called shortcut files, which are usually placed on the hard disk as shortcuts to facilitate users to quickly call them.
Many lnk files (that is, shortcuts) in windows have parameters.
/play—Automatically run media files after opening the connection
"%1"—Automatically appear the file selection box to select files after opening the connection
/Play "%L" —The List selection box automatically appears after opening winamp to select the file playlist
".lnk" is the WINDOWS system The default shortcut extension. If "Hide extensions for known file types" is set under "Folder Options", ".lnk" will not be displayed under normal circumstances. The extension of your shortcut appears, which proves that the WINDOWS settings have been interrupted and the shortcut is unrecognizable.
Repair method
(1) Click "Start" → "Run", type "cmd" to enter the command prompt state, use the keyboard to type assoc.lnk=lnkfile (nothing in the middle) space) and press Enter.
Operation error: If after modifying the shortcut, it looks like this instead, it must be that the command is wrong, or there is no
Note that there should be no spaces at the end, just re-enter the correct Just fix the shortcut command. At this time, don't doubt the correctness of the command, it's just an extra space. Continue to press the F3 key in the command prompt window (this will automatically remove extra spaces), and press Enter to execute the command. [1]
(2) Click "Start" → "Run", type "regedit", enter the registry, search for the ".lnk" key under "HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\", and modify it The value is "lnkfile", just save it.
The above is the detailed content of What is .lnk file?. For more information, please follow other related articles on the PHP Chinese website!