CreateDesktopShortcut


CreateDesktopShortcut
    [-exePath] <String>
    [-shortcutName] <String>
    [-iconPath] <String> = ""
    [-arguments] <String> = ""

Description

The CreateDesktopShortcut function creates a shortcut to an exe on the desktop.

Example


CreateDesktopShortcut -exePath "C:\App\StartApp.exe" -shortcutName "Start App"


CreateDesktopShortcut -exePath "C:\App\StartApp.bat" -shortcutName "Start App" -iconPath "C:\App\StartApp.exe" -arguments "arg1"