Jump to content

Create a shorcut on the desktop


rizwan
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

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