Diving Into Shortened Terms: Alias & Application Lifecycle
Diving Into Shortened Terms: Alias & Application Lifecycle
If you’re trying to open an app like Microsoft Paint in the Run Dialog and see an error message, it could be caused by your app aliases. But what exactly are App Execution Aliases, where do you find them, and how do you use them?
What Are App Execution Aliases?
An alias is an alternative name given to something. The most obvious example is the codename given to a spy or undercover agent. On Windows, aliases have nothing to do with spying. Instead, they are used for streamlining tasks, such as entering commands.
Windows 10 and 11 both allow aliases to be declared for some apps by default. The available apps vary but are often those commonly associated with command line tools. Giving an app an alias allows it to be executed using a shorter title rather than the full name or path.
App aliases can be used in several Windows Command Line Interfaces (CLI), including the Run Dialog, Command Prompt, and PowerShell . If you use these tools with any regularity, app aliases can help to streamline entering commands.
How to Enable App Execution Aliases in Settings
You can enable and disable aliases for compatible apps in the main settings in both Windows 10 and 11. If more than one app uses the same alias name, you can choose which has the alias applied to it.
In Windows 11:
- OpenSettings > Apps , and look forAdvanced app settings .
- In the advanced app settings, clickApp execution aliases to see the list of compatible apps.
- Use the slider switches to enable or disable the alias for each app. You can see the alias name below each app.
In Windows 10:
- If you’re using Windows 10, you’ll find the aliases inSettings > Apps & features .
- Click theApp execution aliases link near the top of the Apps & features page.
- You can then enable and disable aliases using the switches.
By default, in both Windows 10 and 11, you can only enable or disable existing app aliases. But if you don’t mind editing the Registry, you can create new aliases for many other apps.
Create App Execution Aliases in Registry Editor
Before editing or creating registry keys, it is advisable to create a full backup of the Windows Registry . Of course, you should also ensure you understand how to restore the Registry from that backup.
The process below for creating app execution aliases in the Registry Editor should be the same in both Windows 10 and 11.
- OpenWindows Search , typeRegistry Editor , and click on the search result to open it.
- In the editor, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths .
- Next, right-click on theApp Paths key in the left-hand pane, and selectNew > Key .
- Give the new key an alias name that relates to the app and ends with .exe. For example, if the alias is for Calendar, call it something like cal.exe.
- With the alias selected, double-click theDefault value in the right-hand pane.
- In the Value data field, you will need to enter the full path to the app executable file. For exampleC:\Program Files (x86)\Calendar.exe .
- Right-click in the right pane and selectNew > String value . Name the stringpath . The change the Value data to the same path as above, but without the app filename.
You can now close the Registry Editor. The new App Execution Alias will now be available to use in the Windows CLIs.
Using and Creating App Execution Aliases
Entering commands into tools such as Command Prompt and PowerShell can be laborious. You can streamline that process by enabling or creating aliases for apps that commonly feature in those commands. Why type out a full path to an executable file when you can point to it with a few keystrokes?
- Title: Diving Into Shortened Terms: Alias & Application Lifecycle
- Author: David
- Created at : 2024-08-15 23:30:53
- Updated at : 2024-08-16 23:30:53
- Link: https://win11.techidaily.com/diving-into-shortened-terms-alias-and-application-lifecycle/
- License: This work is licensed under CC BY-NC-SA 4.0.