Jump to content

Recommended Posts

Posted

When I attempt to run a .LNK shortcut, AutoIt returns:

eg: Run("note.LNK","C:\")

Error: Unable to execute the external program

The system cannot find the file specified.

NB - I want to directly run the LNK shortcut directly - not to extract the terms from the LNK shortcut and execute them.

Posted

I assume that the absence of a '\' after 'C:' is a typo. In either case,

ShellExecute("C:\note.lnk)

generates: Unknown function name

and I cannot find 'ShellExecute' in Help.

Is this a function later than the AutoIt version I am running?

Thanks for your help

IAN

Posted (edited)

must be an old version of AutoIt

and there is no typo

"absence of a '\'" .... I see it on my screen.... let me copy and paste...

this is what I see

______________

ShellExecute ( "C:\Note.lnk" )

______________

Edited by danwilli

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...