Search found 1 match

by Ldallial
Thu Mar 12, 2020 4:06 am
Forum: VBScript
Topic: vbscript - How to open .lnk file or better known as a shortcut
Replies: 1
Views: 340

vbscript - How to open .lnk file or better known as a shortcut

I simply have this

set x=createobject("wscript.shell")
x.run %comspec% /k C:\Program Files (x86)\Keysticks.net\Keysticks\KeySticks.lnk"

but gives me return code... invalid character, code: 800A0480

I copy pasted the path... I must be missing something else