

![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]  
```
## Arguments  
* **` 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 - Command was successful  
  NotAvailable - Communication with the client backend failed, ensure that the client is running  
  InvalidId - Invalid connection, object or session ID  
  InvalidArgs - Some arguments are missing or invalid  
  Exception - System problem

## 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)  
