popToastControl.Payload =
$@"
<toast activationType='protocol' launch='file:///C|/My Documents/'>
<visual>
<binding template='ToastGeneric'>
<text>Click to launch Bing Maps</text>
<text>Searches for ""1 Microsoft Way, 98052""</text>
</binding>
</visual>
</toast>";
我无法通过file protocol(file:///...)
我试过这样的话:file:///%USERPROFILE%\My Documents
=&gt;无效
也没有这样做:file:///%My Documents%
它只能以这种方式运作:file:///C:\Users\Michael-DEV\Documents
请让我摆脱这个麻烦,非常感谢!