A vbs solution based to parse lnk files (windows shortcuts) supporting special chars
npm install win-lnk-parser
$ chcp /?
$ cscript /?
`
Usage
`sh
$ npm i --save win-lnk-parser
`
` js
const lnkParser = require('win-lnk-parser')
const fullPath = "c:\\...\\...\\example.lnk"
const go = async () => {
const {
targetPath
windowStyle
hotKey
iconLocation
description
workingDirectory
} = await lnkParser(fullPath, [codePage=850])
}
``