Do you have some .lnk files and are wondering what they are? You’re most likely unable to open them on your Mac. If you are trying to figure out what they are and how to open them, then you have come to the right place. They are very simple files and there’s not much to them.
In fact, they’re not really of much use on a Mac because they are Windows shortcut files. That being said there is a way to open them and they do contain some information that could be useful in some instances.
My name is Eric and I have worked with a variety of operating systems and many different file types. As a software engineer, I have learned ways to open files and find information from them when needed. When I get a chance I like to help others learn about different file types.
If you would like to learn more about .lnk files, keep reading. We will take a look at what they are, what they are used for, how we can open them on a Mac, and what kind of information we can get from them.
Let’s get started!
What are LNK files?
If you are seeing .lnk files, you are most likely finding them on a flash drive, a USB hard drive, or some other media that has data on it from a Windows PC. I know this because .lnk files are native to Windows operating systems.
These are actually the shortcut files you see on a Windows desktop. When on the desktop of your PC you don’t see the .lnk extension but it is there. If you use Windows Explorer to navigate to the desktop folder and have the settings enabled to show extensions, you will see them.
Windows shortcut files contain data that help the system determine where the actual file is located and what application if any is needed to open or run the file. There is also other information contained in the file such as parameters that are passed to the application.
How to Open .lnk Files on a Mac
Although these files can’t be used on a Mac as they are intended to be used on a Windows system, there is an easy way to open them. You just can’t use them as a shortcut like you would on a PC. If you double-click on one, you will get a message like the one shown below.
If you do this, just click on the Cancel button to get out of this window. Although there are options here to try to deal with the file, they don’t always work the way we want them to. I will show you a quick and easy way to open them below.
Step 1: Locate the .lnk file in Finder
Step 2: Right-click on the .lnk file
Step 3: Select Open With and then select the TextEdit.app.
If you don’t see the TextEdit.app selection under Open With, click on Other… and then find the TextEdit.app application in the window and select it to open the file with it.
Once the file opens, you will see something similar to the file below.
What Can I do With the .lnk File on My Mac?
Now that you are able to open the .lnk file, you will see some text and a lot of random characters that look like garbage. This is because it is not a text file it is a binary file. So, now that you have it opened, you may be thinking what can I do with it or use it for.
The quick answer is nothing. As we discussed above this is a Windows shortcut file and there is no way that we can use it for its intended purpose on a Mac. In other words, we can’t double click on it and have it start up an application. Your Mac doesn’t know how to interpret the information.
Even if it did, the application that the shortcut is meant to start up is probably not even on your Mac and if it was it would not work. Other than figuring out what the file is, there is one reason that you may want to open it and that would be to get information from it.
If for some reason you wanted to know what the shortcut originally opened and where it was located on the windows machine, you can find this from the .lnk file.
As you can see above, the application is run by the system shell32.dll and it was the Skype application that was located in the user’s Progam Files directory.
This may not really matter to anyone but if for some reason you lost the original files and the shortcut files were copied to or left on the USB drive, you might be able to use this information to figure out where the original files are at.
If you are a programmer or software developer, you might be able to use this information to figure out how the application was being started and where it is normally located, who designed it, and other miscellaneous things about it. There is also other information you can glean from it.
Can .lnk Files Harm My Mac?
For the most part, .lnk files are harmless. As we have discussed above, they are just shortcut files from a Windows PC. With that being said, there is a possibility that someone could disguise a dangerous file that has a virus or malware in it as a .lnk file.
So as with any other files, always use caution when opening them on your system. If you don’t know where it came from, you may be better off just leaving it alone. You might be curious as to what it is for, but it may not be worth the risk of opening for the minimal information it contains.
How Did .lnk files Get on My USB Flash Drive?
There are many ways that the files could have ended up there, but one common way is from someone trying to copy files to the USB drive from a Windows PC by dragging and dropping them.
Sometimes the drag and drop action from a PC drive to a flash drive only creates shortcut files to the original files instead of copying the whole files to the drive.
Can I Just Delete the .lnk Files?
Now that you know how to open the files and you can see what is in them, you have probably discovered that you don’t have much use for them. If you don’t, there is probably no reason to keep them and you can go ahead and delete them or move them to the trash.
If they are no use to you, they are just taking up space on your computer. There’s really not much else that you can do with them at that point.
If you have found some .lnk files on a removable drive or they have somehow gotten onto your Mac, you may have been unsure of what they were or even worried they could be dangerous. In most cases they are harmless and if you wish to open one of them you now know how to do so.
While these files can contain a small amount of useful information, they really are not of any use on a Mac computer. In the end, you can probably just remove them if you wish.
If you have another way to open them on your Mac or some unique use for them, let me know. I would love to hear from you and learn more about them.