我尝试从命令行启动 Windows 应用程序但没有成功:
申请详情如下:
Name : SIBSFPS.MBWAY
PackageFullName : SIBSFPS.MBWAY_1.6.0.12_neutral__fn0s81njkh37g
InstallLocation : C:\Program Files\WindowsApps\SIBSFPS.MBWAY_1.6.0.12_neutral__fn0s81njkh88g
PackageFamilyName : SIBSFPS.MBWAY_fn0s81njkh88g
我试过了 :
explorer.exe shell:"C:\Program Files\WindowsApps\SIBSFPS.MBWAY_1.6.0.12_neutral__fn0s81njkh88g\SIBS.MBWAY.Windows.Windows.exe" -ServerName:App.AppX4jm6kxt8hhb5fqx4a2k6vtcbg46h8384.mca
和
"C:\Program Files\WindowsApps\SIBSFPS.MBWAY_1.6.0.12_neutral__fn0s81njkh37g\SIBS.MBWAY.Windows.Windows.exe" -ServerName:App.AppX4jm6kxt8hhb5fqx4a2k6vtcbg46h8384.mca
但没有运气,我该怎么办?
答案1
Windows 商店应用程序通过 URL 启动,而不是通过 exe 文件启动。这也是您打开网站的方式。
以下命令是一个批处理文件,它列出计算机上的所有 URL 方案,包括互联网方案。它们被称为协议处理器。
因为它对其进行排序,所以运行需要几分钟。
@For /f "tokens=1* delims=" %%A in ('reg query HKCR /f "URL:*" /s /d ^| findstr /c:"URL:" ^| findstr /v /c:"URL: " ^| Sort') Do @Echo %%A %%B
pause
在我的计算机上,没有商店应用程序,只有 Windows 自带的应用程序,这个列表花了我 5 分钟多的时间。
(Default) REG_SZ URL:armodelviewing
(Default) REG_SZ URL:Available Networks Protocol
(Default) REG_SZ URL:bingweather
(Default) REG_SZ URL:calculator
(Default) REG_SZ URL:com.gotrust.cdfapp
(Default) REG_SZ URL:com.microsoft.3dviewer
(Default) REG_SZ URL:Devices Flow Connectable Devices Protocol
(Default) REG_SZ URL:Devices Flow Display Topology Protocol
(Default) REG_SZ URL:dlna-playsingle Protocol
(Default) REG_SZ URL:dropbox-oem
(Default) REG_SZ URL:evernote
(Default) REG_SZ URL:fb-events-share
(Default) REG_SZ URL:fb-messenger
(Default) REG_SZ URL:fb-messenger-api
(Default) REG_SZ URL:fb-messenger-api20131028
(Default) REG_SZ URL:fb-messenger-api20140131
(Default) REG_SZ URL:fb-messenger-api20140301
(Default) REG_SZ URL:fb-messenger-api20140430
(Default) REG_SZ URL:fb-messenger-diode
(Default) REG_SZ URL:fb-messenger-group-thread
(Default) REG_SZ URL:fb-messenger-neue
(Default) REG_SZ URL:fb-messenger-platform
(Default) REG_SZ URL:fb-messenger-platform-20150128
(Default) REG_SZ URL:fb-messenger-platform-20150218
(Default) REG_SZ URL:fb-messenger-platform-20150305
(Default) REG_SZ URL:fb-messenger-platform-20150714
(Default) REG_SZ URL:fb-messenger-public
(Default) REG_SZ URL:fb-messenger-share
(Default) REG_SZ URL:fb-messenger-share-api
(Default) REG_SZ URL:fb-messenger-voip
(Default) REG_SZ URL:fb-page-messages
(Default) REG_SZ URL:fbmessenger
(Default) REG_SZ URL:feedback-hub
(Default) REG_SZ URL:fiddlerapp
(Default) REG_SZ URL:File Protocol
(Default) REG_SZ URL:File Transfer Protocol
(Default) REG_SZ URL:File Transfer Protocol
(Default) REG_SZ URL:http
(Default) REG_SZ URL:https
(Default) REG_SZ URL:HyperText Transfer Protocol
(Default) REG_SZ URL:HyperText Transfer Protocol with Privacy
(Default) REG_SZ URL:insiderhub
(Default) REG_SZ URL:LDAP Protocol
(Default) REG_SZ URL:LDAP Protocol
(Default) REG_SZ URL:mailto
(Default) REG_SZ URL:messenger
(Default) REG_SZ URL:microsoft-edge
(Default) REG_SZ URL:microsoft.windows.camera
(Default) REG_SZ URL:microsoft.windows.camera.picker
(Default) REG_SZ URL:microsoft.windows.photos.crop
(Default) REG_SZ URL:microsoft.windows.photos.picker
(Default) REG_SZ URL:microsoft.windows.photos.videoedit
(Default) REG_SZ URL:microsoftmusic
(Default) REG_SZ URL:microsoftvideo
(Default) REG_SZ URL:MK Protocol
(Default) REG_SZ URL:mms Protocol
(Default) REG_SZ URL:mms Protocol
(Default) REG_SZ URL:ms-aad-brokerplugin
(Default) REG_SZ URL:ms-actioncenter
(Default) REG_SZ URL:ms-appinstaller
(Default) REG_SZ URL:ms-apprep
(Default) REG_SZ URL:ms-calculator
(Default) REG_SZ URL:ms-clock
(Default) REG_SZ URL:ms-contact-support
(Default) REG_SZ URL:ms-cortana2
(Default) REG_SZ URL:ms-cxh
(Default) REG_SZ URL:ms-default-location
(Default) REG_SZ URL:ms-device-enrollment
(Default) REG_SZ URL:ms-drive-to
(Default) REG_SZ URL:ms-eyecontrolspeech
(Default) REG_SZ URL:ms-gamebarservices
(Default) REG_SZ URL:ms-gamingoverlay
(Default) REG_SZ URL:ms-get-started
(Default) REG_SZ URL:ms-getoffice
(Default) REG_SZ URL:ms-holographicfirstrun
(Default) REG_SZ URL:ms-inputapp
(Default) REG_SZ URL:ms-insights
(Default) REG_SZ URL:ms-ipmessaging
(Default) REG_SZ URL:ms-meetnowflyout
(Default) REG_SZ URL:ms-msdt
(Default) REG_SZ URL:ms-officeapp
(Default) REG_SZ URL:ms-officecmd
(Default) REG_SZ URL:ms-oobenetwork
(Default) REG_SZ URL:ms-paint
(Default) REG_SZ URL:ms-penworkspace
(Default) REG_SZ URL:ms-people
(Default) REG_SZ URL:ms-phone
(Default) REG_SZ URL:ms-photos
(Default) REG_SZ URL:ms-print-addprinter
(Default) REG_SZ URL:ms-print-printjobs
(Default) REG_SZ URL:ms-quick-assist
(Default) REG_SZ URL:ms-retaildemo-launchbioenrollment
(Default) REG_SZ URL:ms-retaildemo-launchstart
(Default) REG_SZ URL:ms-screenclip
(Default) REG_SZ URL:ms-screensketch
(Default) REG_SZ URL:ms-search
(Default) REG_SZ URL:ms-settings
(Default) REG_SZ URL:ms-settings-airplanemode
(Default) REG_SZ URL:ms-settings-bluetooth
(Default) REG_SZ URL:ms-settings-cellular
(Default) REG_SZ URL:ms-settings-emailandaccounts
(Default) REG_SZ URL:ms-settings-language
(Default) REG_SZ URL:ms-settings-location
(Default) REG_SZ URL:ms-settings-lock
(Default) REG_SZ URL:ms-settings-mobilehotspot
(Default) REG_SZ URL:ms-settings-notifications
(Default) REG_SZ URL:ms-settings-power
(Default) REG_SZ URL:ms-settings-privacy
(Default) REG_SZ URL:ms-settings-proximity
(Default) REG_SZ URL:ms-settings-screenrotation
(Default) REG_SZ URL:ms-settings-wifi
(Default) REG_SZ URL:ms-settings-workplace
(Default) REG_SZ URL:ms-sttoverlay
(Default) REG_SZ URL:ms-taskswitcher
(Default) REG_SZ URL:ms-unistore-email
(Default) REG_SZ URL:ms-voip-call
(Default) REG_SZ URL:ms-voip-video
(Default) REG_SZ URL:ms-walk-to
(Default) REG_SZ URL:ms-wcrv
(Default) REG_SZ URL:ms-windows-search
(Default) REG_SZ URL:ms-windows-store
(Default) REG_SZ URL:ms-windows-store2
(Default) REG_SZ URL:ms-wpc
(Default) REG_SZ URL:ms-wpdrmv
(Default) REG_SZ URL:ms-xgpueject
(Default) REG_SZ URL:msnweather
(Default) REG_SZ URL:om.facebook.317180b0bb486
(Default) REG_SZ URL:onenote
(Default) REG_SZ URL:onenote-cmd
(Default) REG_SZ URL:outlookaccounts
(Default) REG_SZ URL:outlookcal
(Default) REG_SZ URL:outlookmail
(Default) REG_SZ URL:Play Single DLNA Item Protocol
(Default) REG_SZ URL:pw.gregoauth2
(Default) REG_SZ URL:read
(Default) REG_SZ URL:RES Protocol
(Default) REG_SZ URL:RLogin Protocol
(Default) REG_SZ URL:rsgcribbagedeluxe
(Default) REG_SZ URL:rsgheartsdeluxe
(Default) REG_SZ URL:rsgsimplemahjong
(Default) REG_SZ URL:rsgsimplesolitaire
(Default) REG_SZ URL:rsgsimplespider
(Default) REG_SZ URL:rtkuwp
(Default) REG_SZ URL:skype
(Default) REG_SZ URL:skypewin
(Default) REG_SZ URL:spotify
(Default) REG_SZ URL:tbauth
(Default) REG_SZ URL:tel
(Default) REG_SZ URL:Telnet Protocol
(Default) REG_SZ URL:TN3270 Protocol
(Default) REG_SZ URL:Virtual Touchpad
(Default) REG_SZ URL:vscode
(Default) REG_SZ URL:windows-feedback
(Default) REG_SZ URL:windows.tbauth
(Default) REG_SZ URL:windowsdefender
(Default) REG_SZ URL:xbls
(Default) REG_SZ URL:xbox
(Default) REG_SZ URL:xbox-arena
(Default) REG_SZ URL:xbox-captures
(Default) REG_SZ URL:xbox-friendfinder
(Default) REG_SZ URL:xbox-gamehub
(Default) REG_SZ URL:xbox-lfg
(Default) REG_SZ URL:xbox-network
(Default) REG_SZ URL:xbox-profile
(Default) REG_SZ URL:xbox-settings
(Default) REG_SZ URL:xbox-store
(Default) REG_SZ URL:xbox-tcui
(Default) REG_SZ URL:xboxgames
(Default) REG_SZ URL:xboxliveapp-1297287741
(Default) REG_SZ URL:xboxmusic
(Default) REG_SZ URL:zune
要在“运行”对话框或快捷方式类型中使用它们(例如 Zune) zune:\\
答案2
如果你实际上在命令行中,你想转到正确的目录并运行它
C: cd "C:\Program Files\WindowsApps\SIBSFPS.MBWAY_1.6.0.12_neutral__fn0s81njkh88g\" SIBS.MBWAY.Windows.Windows.exe -ServerName:App.AppX4jm6kxt8hhb5fqx4a2k6vtcbg46h8384.mca
请注意,上面是 3 行独立的代码,每行后面都需要按回车键才能运行。
我个人建议使用批处理文件。前两行命令与上面相同,但第三行开头应该有“start”