I'm trying to access some file on my company's local network. The file I was looking for appears to be a Windows shortcut (.lnk
) and, of course, I can't follow it from my Ubuntu.
I didn't find any option with smbclient to be able to access what's behind the link. Does anyone have an idea on how to get there?
I don't need Samba to follow the link, I just need to know where it goes, so I can access the file directly.
You can either
Try opening the file using an editor (like gedit) and see if it helps you see the link's target.
Use
lnkforward
(Kubuntu Only)Use Strings
strings filename.lnk
Gives out lots of information, including the target location.
Example