Borje Posted June 3, 2022 Posted June 3, 2022 (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 June 3, 2022 by Borje
Musashi Posted June 3, 2022 Posted June 3, 2022 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") "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
Borje Posted June 3, 2022 Author Posted June 3, 2022 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 Posted June 3, 2022 Author Posted June 3, 2022 Hi Musashi and thanks for the help All works now I found the the setting to open the shortcut minimized so all is solved now.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now