win-lnk-parser
Simple package to read some metadata info from .lnk files (windows shortcuts) with support for special characters
Pre-requisites
This package only works on Windows and you must have the following apps:
$ chcp /?
$ cscript /?
Usage
$ npm i --save win-lnk-parser
const lnkParser =const fullPath = "c:\\...\\...\\example.lnk"const go = async {consttargetPathwindowStylehotKeyiconLocationdescriptionworkingDirectory} = await}
- fullPath - absolute path to .lnk file
- codePage - defaults to 850 (see here for more information)
Author
José Varela (joselcvarela//at//gmail.com)