Home > Common Problem > body text

What is .lnk file?

coldplay.xixi
Release: 2021-01-22 16:38:01
Original
33306 people have browsed it

.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.

What is .lnk file?

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template