Saturday, March 19, 2011

Shortcut (.lnk) file parser

In my AutoHotKey file I wanted to add some hot strings to access some of my favorite folders and programs. Only problem is I have so many shortcuts to do it manually.

Here is how I did it in PowerShell,

Here are some other way to do it,

Editing shortcut (.lnk) properties with Powershell

Windows shortcut (.lnk) parser in Java?

Reading the target of a .lnk file in Python?