共用方式為


Reserved file and URI associations for Windows Phone 8

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

You can use file and URI associations in Windows Phone 8 to automatically launch your app when another app launches a specific file type or URI scheme. But there are some file and URI associations that you can’t use, associations that are reserved. If your app registers for a reserved association, that registration will be ignored. This topic lists the reserved file types and reserved URI scheme names that are not available to your app.

For information about how to use file and URI associations in your app, see Auto-launching apps using file and URI associations for Windows Phone 8.

This topic contains the following sections.

Reserved file types

There are two types of reserved file types: file types reserved for Windows Phone built-in apps and file types reserved for the operating system. When a file type reserved for a built-in app is launched, only the built-in app will launch. Any attempt to register your app with that file type is ignored. Similarly, any attempt to register your app with a file type reserved for the operating system also will be ignored.

File types reserved for built-in apps

Windows Phone reserves the following file types for built-in apps.

.aac

.pem

.aetx

.png

.asf

.pptm

.bmp

.pptx

.cer

.qcp

.dotm

.rtf

.dotx

.tif

.gif

.tiff

.hdp

.txt

.htm

.url

.html

.vcf

.ico

.wav

.icon

.wdp

.jpeg

.wmv

.jxr

.xap

.m4a

.xht

.m4r

.xhtml

.m4v

.xltm

.mov

.xltx

.mp3

.xml

.mp4

.xsl

.one

.zip

.onetoc2

.p7b

File types reserved for the operating system

Windows Phone reserves the following file types for the operating system.

.ade

.msh2

.adp

.msh2xml

.app

.mshxml

.application

.msi

.appref-ms

.msp

.asp

.mst

.bas

.msu

.bat

.ops

.cab

.pcd

.chm

.pif

.cmd

.pl

.cnt

.plg

.com

.plsc

.cpf

.prf

.cpl

.prg

.crd

.printerexport

.crds

.provxml

.crt

.ps1

.csh

.ps1xml

.der

.ps2

.dll

.ps2xml

.exe

.psc1

.fxp

.psc2

.gadget

.psm1

.grp

.pst

.hlp

.pvw

.hme

.py

.hpj

.pyc

.hta

.pyo

.inf

.rb

.ins

.rbw

.isp

.rdp

.its

.reg

.jar

.rgu

.js

.scf

.jse

.scr

.ksh

.shb

.lnk

.shs

.mad

.theme

.maf

.tmp

.mag

.tsk

.mam

.url

.maq

.vb

.mar

.vbe

.mas

.vbp

.mat

.vbs

.mau

.vhd

.mav

.vhdx

.maw

.vsmacros

.mcf

.vsw

.mda

.webpnp

.mdb

.ws

.mde

.wsc

.mdt

.wsf

.mdw

.wsh

.mdz

.xaml

.msc

.xdp

.msh

.xip

.msh1

.xnk

.msh1xml

Reserved URI scheme names

There are two types of reserved URI scheme names: URI scheme names reserved for Windows Phone built-in apps and URI scheme names reserved for the operating system. When a URI is launched, if it contains a URI scheme name that’s reserved for a built-in app, only the built-in app will launch. Any attempt to register your app with that URI scheme name is ignored. Similarly, any attempt to register your app with a URI scheme name reserved for the operating system also will be ignored.

URI scheme names reserved for built-in apps

Windows Phone reserves the following URI scheme names for built-in apps.

bing.

ms-settings-emailandaccounts.

callto.

ms-settings-location.

dtmf.

ms-settings-lock.

http.

ms-settings-wifi.

https.

ms-word.

mailto.

office.

maps.

onenote.

ms-excel.

tel.

ms-powerpoint.

wallet.

ms-settings-airplanemode.

xbls.

ms-settings-bluetooth.

zune.

ms-settings-cellular.

URI scheme names reserved for the operating system

Windows Phone reserves the following URI scheme names for the operating system.

Explorer.AssocActionId.BurnSelection

Jscript

Explorer.AssocActionId.CloseSession

LDAP

Explorer.AssocActionId.EraseDisc

Res

Explorer.AssocActionId.ZipSelection

rlogin

Explorer.AssocProtocol.search-ms

StickyNotes

Explorer.BurnSelection

telnet

Explorer.CloseSession

tn3270

Explorer.EraseDisc

Vbscript

Explorer.ZipSelection

windowsmediacenterapp

File

windowsmediacenterssl

Iehistory

windowsmediacenterweb

Ierss

WMP11.AssocProtocol.MMS

Javascript