Jump to content
Sign in to follow this  
rizwan

Create a shorcut on the desktop

Recommended Posts

rizwan

Hi

Is there an easy way to create a shorcut on the desktop through a autoit file.

Basically I have an installer that install the program using autoit and what I want to do is that it creates a shortcut of an autoit compiled file.

Please let me know

thanks

Share this post


Link to post
Share on other sites
Valuater

Hi

Is there an easy way to create a shorcut on the desktop through a autoit file.

Basically I have an installer that install the program using autoit and what I want to do is that it creates a shortcut of an autoit compiled file.

Please let me know

thanks

see FileCreateShortcut() in help

FileCreateShortcut(@WindowsDir & "\Explorer.exe",@DesktopDir & "\Shortcut Test.lnk",@WindowsDir,"/e,c:\", "This is an Explorer link;-)", @SystemDir & "\shell32.dll", "^!t", "15", @SW_MINIMIZE)

8)


NEWHeader1.png

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  

×