I just read the link that @Danp2 suggested to you and I noticed that it uses method 2, only that instead of FileWriteLine() it uses IniWrite() which makes it even easier to manage the shortcut Local $sLinkname = @ScriptDir & "\Google search2.url" IniWrite($sLinkname, "InternetShortcut", "URL", "https://www.google.com/search?q=Katja+Danowski") IniWrite($sLinkname, "InternetShortcut", "IconFile", "C:\Windows\System32\SHELL32.dll") IniWrite($sLinkname, "Interne