How to run shortcut files?

Get help with using AutoHotkey and its commands and hotkeys
Posts: 34
Joined: 20 May 2016, 20:52

How to run shortcut files?

12 Aug 2017, 19:48

I've tried running shortcut files (.lnk) with AHK's run command, with comspec, and shellexecute, nothing is working.

The problem is some shortcuts point to a file (these work) and some don't (these don't work)
I checked that both types of shortcut do not work in cmd.exe, but they do in the windows Run dialog.

So, is there some API I can use to send the full path of shortcut files to the windows Run dialog (without the dialog showing up or having to paste text into it, is there some DllCall for the Run dialog?)

Return to “Ask For Help”

Who is online

Users browsing this forum: tikitree and 55 guests