mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-15 14:57:23 +00:00
fix format
This commit is contained in:
parent
89d6cea74b
commit
f861293656
@ -158,33 +158,31 @@ You can use the **start:DesktopApplicationTile** tag to pin a Windows desktop ap
|
|||||||
|
|
||||||
The following example shows how to pin the Command Prompt:
|
The following example shows how to pin the Command Prompt:
|
||||||
|
|
||||||
```XML
|
```XML
|
||||||
<start:DesktopApplicationTile
|
<start:DesktopApplicationTile
|
||||||
DesktopApplicationLinkPath="%appdata%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk"
|
DesktopApplicationLinkPath="%appdata%\Microsoft\Windows\Start Menu\Programs\System Tools\Command Prompt.lnk"
|
||||||
Size="2x2"
|
Size="2x2"
|
||||||
Row="0"
|
Row="0"
|
||||||
Column="4"/>
|
Column="4"/>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
You must set the **DesktopApplicationLinkPath** attribute to the .lnk file that points to the Windows desktop application. The path also supports environment variables.
|
You must set the **DesktopApplicationLinkPath** attribute to the .lnk file that points to the Windows desktop application. The path also supports environment variables.
|
||||||
|
|
||||||
If you are pointing to a third-party Windows desktop application, you must put the .lnk file in a legacy Start Menu directory before first boot; for example, "%APPDATA%\Microsoft\Windows\Start Menu\Programs\" or the all users profile "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\".
|
If you are pointing to a third-party Windows desktop application, you must put the .lnk file in a legacy Start Menu directory before first boot; for example, "%APPDATA%\Microsoft\Windows\Start Menu\Programs\" or the all users profile "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\".
|
||||||
|
|
||||||
|
|
||||||
- By using the application's application user model ID, if this is known. If the Windows desktop application doesn't have one, use the shortcut link option.
|
- By using the application's application user model ID, if this is known. If the Windows desktop application doesn't have one, use the shortcut link option.
|
||||||
|
|
||||||
To pin a Windows desktop application through this method, you must set the **DesktopApplicationID** attribute to the application user model ID that's associated with the corresponding app.
|
To pin a Windows desktop application through this method, you must set the **DesktopApplicationID** attribute to the application user model ID that's associated with the corresponding app.
|
||||||
|
|
||||||
The following example shows how to pin the Internet Explorer Windows desktop application:
|
The following example shows how to pin the Internet Explorer Windows desktop application:
|
||||||
|
|
||||||
```XML
|
```XML
|
||||||
<start:DesktopApplicationTile
|
<start:DesktopApplicationTile
|
||||||
DesktopApplicationID="Microsoft.Windows.Explorer"
|
DesktopApplicationID="Microsoft.Windows.Explorer"
|
||||||
Size="2x2"
|
Size="2x2"
|
||||||
Row="0"
|
Row="0"
|
||||||
Column="2"/>
|
Column="2"/>
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use the **start:DesktopApplicationTile** tag as one of the methods for pinning a Web link to Start. The other method is to use a Microsoft Edge secondary tile.
|
You can also use the **start:DesktopApplicationTile** tag as one of the methods for pinning a Web link to Start. The other method is to use a Microsoft Edge secondary tile.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user