窗口媒介集中壳(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... [...]