Shell.SetApplicationName
------------------------

Sets the application name.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Shell](component_Shell.md) | [7.5](newinversion75.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "Shell.SetApplicationName"; ShellRef; Name ) 

**MBS**( **"Shell.SetApplicationName";** /\* Sets the application name. \*/  
**$ShellRef**; /\* The reference number from the shell.e.g. $shell \*/   
**$Name**) /\* The application name to use. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ShellRef | The reference number from the shell. | $shell |
| Name | The application name to use. |  |

### Result

Returns OK or error.

### Description

Sets the application name.  
Only for Windows.  
### See also

- [Shell.Execute](ShellExecute.md)
- [Shell.GetApplicationName](ShellGetApplicationName.md)

This function checks for a license.

Created 11st November 2017 , last changed 3th October 2025

  
[Shell.ReleaseAll](ShellReleaseAll.md) - [Shell.SetArguments](ShellSetArguments.md)

[HTML Version](ShellSetApplicationName.shtml)