> I think I have a workaround for that [XP not creating EXE shortcuts].
Nope, what I tried failed miserably.
PB - Registered PureBasic Coder


Thats why i want to write directly the lnk files.Nope, what I tried failed miserably.XP = eXtra Problems.



Code: Select all
CreateLink("D:\BASIC\PureBasic\purebasic.exe", "c:\pb.lnk", "my Description")Code: Select all
- CommandLine Arguments
- Description
- HotKey
- Icon (in a file, with index)
- ShowCommand (Normal, Maximized, Minimized)
- Working DirectoryCode: Select all
[b]CreateLink("D:\purebasic.exe", "c:\pb.lnk", "Command Line", "Description", Hotkey, "...icon.ico",1, #SHOW_NORMAL, "Working Directory")[/b]Code: Select all
[b]
var.ShellLink
var\file$ = "D:\whatever\purebasic.exe"
var\link$ = "c:\PB.lnk"
var\Description$ = "Start PureBasic" ; this is the Tooltip
CreateLink(var)[/b]Code: Select all
[b]GetLink("c:\my.lnk", var.ShellLink)[/b]







