/ native-host / create-shortcut.ps1
create-shortcut.ps1
1 $WshShell = New-Object -ComObject WScript.Shell 2 $Startup = $WshShell.SpecialFolders("Startup") 3 $ShortcutPath = Join-Path $Startup "MnemonicBridge.lnk" 4 $Shortcut = $WshShell.CreateShortcut($ShortcutPath) 5 $Shortcut.TargetPath = "J:\Users\Lcstyle\Documents\WebstormProjects\Mnemonic\native-host\start-bridge.vbs" 6 $Shortcut.WorkingDirectory = "J:\Users\Lcstyle\Documents\WebstormProjects\Mnemonic\native-host" 7 $Shortcut.Description = "Mnemonic Workspaces Bridge" 8 $Shortcut.Save() 9 Write-Host "Shortcut created at: $ShortcutPath"