窗口媒介集中殼(ehshell.exe)命令行開關和選擇
窗口媒介中心是在窗口景色的Windows XP媒介中心編輯和高結束編輯包括的一種數字式家庭娛樂活動插孔應用,并且有固定支持為遙控為鍵盤操作。 通常,當使用WMC (窗口媒介中心)時,您的計算機將解雇直接地對媒介中心接口。 然而,在某個情況例如為調試和查明故障,以下命令行開關和選擇可利用對窗口媒介中心殼(ehshell.exe)也許是有用的。
ehshell.exe支持以下命令行開關:
ehshell.exe /entrypoint :{APP_GUID} \ {ENTRYPOINT_GUID}
這個參量開始媒介集中的窗口并且駕駛直接地對一個登記的入口。 APP_GUID和ENTRYPOINT_GUID是匹配期望申請和入口標識符GUIDs對將被發射的入口的串。 您一定使用RegisterApplication API或RegisterMceApp.exe早先登記應用為這個命令行開關正確地工作。
ehshell.exe /url :<URL>
這個參量開始媒介集中的窗口并且駕駛直接地到URL或XBAP應用指定的一種被主持的HTML <應用>。
ehshell.exe /homepage :<URL>
這個參量開始媒介集中的窗口并且駕駛直接地到URL指定的窗口媒介中心表示層 <Web應用程序>。
ehshell.exe /addinfallbackpath :<道路>
這個參量開始媒介集中和起因它使用的窗口
ehshell.exe /gdi
這個參量開始媒介在GDI圖形方式下集中的窗口。 GDI圖形方式模仿不支持DirectX圖形方式的低保真度圖表環境。
ehshell.exe /widescreen
這個參量開始媒介集中以使能測試的16 x 9長寬比widescreen對系統的顯示決議只有安裝的一臺4 x 3顯示器的窗口。 這個開關運轉,當中心開始的窗口媒介windowed方式,但不在整個銀幕的方式。 如果您發射時限媒介用/widescreen開關集中,并且它在整個銀幕的方式下開始,您在窗口媒介中心UI的右上角將需要點擊taskbar按鈕改變它對windowed方式,則接近的窗口媒介中心并且使用/widescreen開關重新開辦它看正確16 x 9長寬比。
ehshell.exe /rtl
這個參量開始媒介在右到左顯示方式下集中的窗口。 This is useful for simulating how your application will look and behave on a right-to-left OS language such as Arabic or Hindi.
ehshell.exe /directmedia:general
Launches Windows Media Center in full screen mode, a new switch as part of Windows HotStart feature that can be used to launch Windows Media Center and cause it to navigate directly to one of the built-in experiences.
ehshell.exe /directmedia:music
Launches Windows Media Center in full screen mode and navigates to the music library, a new switch as part of Windows HotStart feature that can be used to launch Windows Media Center and cause it to navigate directly to one of the built-in experiences.
ehshell.exe /directmedia:video
Launches Windows Media Center in full screen mode and navigates to the video library, a new switch as part of Windows HotStart feature that can be used to launch Windows Media Center and cause it to navigate directly to one of the built-in experiences.
ehshell.exe /directmedia:tv
Launches Windows Media Center in full screen mode and navigates to the recorded TV library.
ehshell.exe /directmedia:pictures
Launches Windows Media Center in full screen mode and navigates to the picture library, a new switch as part of Windows HotStart feature that can be used to launch Windows Media Center and cause it to navigate directly to one of the built-in experiences.
ehshell.exe /directmedia:discplayback
Launches Windows Media Center in full screen mode and begins playback of the disc in the drive by reusing AutoRun code, a new switch as part of Windows HotStart feature that can be used to launch Windows Media Center and cause it to navigate directly to one of the built-in experiences.
IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- 10 New Executables and 20 Old Commands in Windows Vista
- Windows Genuine Advantage (WGA) Bypass Tool for OEM System Builder
- Windows PowerShell 1.0 for Windows Vista Free Download
- Control Windows Media Player Behaviour with Command Line Parameters
- Restart or Shutdown Windows (XP, 2000 and Vista) from Command Line or One-Click Shortcut
- Comprehensive List of Command Prompt Keyboard Accelerators (Shortcut Keys)
- How to Disable (Uninstall and Remove) Windows Media Center in Vista
- How to Check Memory Usage in Linux based Server
- Download CDImage GUI (CDImageGUI)
- Disable or Remove Shell Extensions and Slow Right Click Context Menu (Shortcut Menu) Handlers or Items with ShellExView




























June 12th, 2007 21:41
[...] Full article [...]
June 13th, 2007 01:48
Very nice article and useful tips thank you. Before reading this i haven’t any idea about all the function of windows media center.
Only one tips: remember to put C:\Windows\ehome in
your Path under Computer -> Sytem Properties -> Advanced -> Environment Variables
Best Regards, Riccardo Giuntoli
October 12th, 2007 03:54
I can’t tv or play a dvd because i get some type of error messege saying decoder or application.
April 11th, 2008 22:48
[...] http://www.mydigitallife.info/2007/06/11/windows-media-center-shell-ehshellexe-command-line-switches... [...]
August 22nd, 2008 03:55
[...] http://www.mydigitallife.info/2007/06/11/windows-media-center-shell-ehshellexe-command-line-switches... [...]