Jump to content

Recommended Posts

Posted (edited)

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
Posted
  On 6/3/2022 at 8:01 AM, Borje said:

I have read the help file ...

Expand  

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

  On 6/3/2022 at 8:01 AM, Borje said:

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

Expand  

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

Posted

Hi Musashi  that works but I forget to ask my shortgut shold not open in a normal mode I want to be opened in minimize is

that possible?

 

  • 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
  • Recently Browsing   0 members

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