MrBo Posted December 17, 2007 Posted December 17, 2007 So creating a Windows shortcut is easy enough to do. But is there a simple way of extracting the data from a windows shortcut (LNK file) using AutoIT? I have searched through the forums, and on google, but have yet to find a method to do this (well - one that doesn't involve C++ programing knowledge) I know I can execute a LNK using ShellExecute, but for my project, I would prefer to be able to call the EXE directly (and be able to pull the icon for the program also) Can anyone shed any light on if this is possible? Cheers Jim
smashly Posted December 17, 2007 Posted December 17, 2007 Hi, in AutoIt help file under "File, Directory and Disk Magement" -> FileGetShortcut() function will give you exactly what you need. Cheers
MrBo Posted December 17, 2007 Author Posted December 17, 2007 smashly said: Hi, in AutoIt help file under "File, Directory and Disk Magement" -> FileGetShortcut() function will give you exactly what you need.Cheers@smashly - Thank you very much - I don't know why I didn't find that when I was searching. :-)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now