Open ehshell.exe from batch-file

Post Reply
TOMillr

Posts: 1
Joined: Wed Aug 21, 2013 1:10 pm
Location:

HTPC Specs: Show details

Open ehshell.exe from batch-file

#1

Post by TOMillr » Mon Jun 02, 2014 4:20 pm

I'm trying to start Media Center from within a simple batch file.

Problem is, when I run the script, the command line windows that calls up the ehshell.exe seems to steal the focus away from Media Center. It brings up Media Center in fullscreen-mode but I can't use my remote to control the menus. I first have to push the green button on the remote to put the focus back to ehshell.exe.

Is there a way to automatically "refocus" ehshell.exe from within the batch file?

barnabas1969

Posts: 5738
Joined: Tue Jun 21, 2011 7:23 pm
Location: Titusville, Florida, USA

HTPC Specs: Show details

#2

Post by barnabas1969 » Mon Jun 02, 2014 4:38 pm


Post Reply