

![Parralels](https://www.parallels.com/static/pl/fileadmin/res/img/navigation/pl-logo-dk.png)

# AppserverClient Command Line Interface

## createshortcut

creates a shortcut for an RDP connection or a published desktop or application.

**Category: Shortcuts**


```
AppServerClientCLI createshortcut -id ras:3:24 [-remember]
```
* **` id (mandatory) `** Specify the connection or published app/desktop ID to use.
* **` remember (optional) `** Create a shortcut as instructed by server. See notes for further information.
## Return codes:
  ok
  NotAvailable
  InvalidId
  InvalidArgs
  Exception
## Examples:
  AppServerClientCLI createshortcut -id ras:3:24
  AppServerClientCLI createshortcut -id rdp:21
## Notes:
  When remember is set, the shortcut is created as instructed by the server.
  This means that the shortcut can be removed automatically when the option is disabled.
  The Modern UI should not set this argument.
## See also:
[deleteallshortcuts](deleteallshortcuts.md)
[createfavoritesshortcuts](createfavoritesshortcuts.md)
