Sign in to follow this  
Followers 0
sstouk

Name and Path of a shortcut

3 posts in this topic

I am currently building a small system that would use Windows shortcuts with parameters to start AutoIt compiled executable.

Is there a way from within the AutoIt to automatically get the path and the name of a shortcut, that started the compiled AutoIt script?

Any ideas how I could do it?

Thank You.

Share this post


Link to post
Share on other sites



I am currently building a small system that would use Windows shortcuts with parameters to start AutoIt compiled executable.

Is there a way from within the AutoIt to automatically get the path and the name of a shortcut, that started the compiled AutoIt script?

Any ideas how I could do it?

Thank You.

You could try looking at the @ScriptFullPath macro in the help file.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

You could try looking at the @ScriptFullPath macro in the help file.

actually i think that he's talking about how to send the name of the shortcut calling the executable. using shortcuts i'm not sure how you would do it, but you can make your own shortcuts with autoit that just use Run() to call the executable, passing @ScriptFullPath as a command line parameter...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0