Jump to content

[ Solved] Need some help with FileCreate shortcut


Recommended Posts

Hi everybody I need help,

I have read the help file but I can not have that to works, plase can anybody give me example how the shortcut must be?

 

FileCreateShortcut(@ProgramFilesDir & "\test\Test.cmd",@DeskTopDir & "\test.lnk",@DeskTopDir)




; I want to use icon test.ico in the shortcut what i must do to have that to work with my icon is in @ProgramFilesDir & "\test

 

Edited by Borje
Link to comment
Share on other sites

40 minutes ago, Borje said:

I have read the help file ...

Take a look at Parameter 6 = icon [optional] -  Full Path/File name of icon to use.

42 minutes ago, Borje said:

can anybody give me an example how the shortcut must be?

Try (not tested) :

FileCreateShortcut(@ProgramFilesDir & "\test\Test.cmd", @DeskTopDir & "\test.lnk", @DeskTopDir, "", "", @ProgramFilesDir & "\test\test.ico")

 

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

  • Borje changed the title to [ Solved] Need some help with FileCreate shortcut

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...