I have a project where I need to launch a remote video on a machine driving a large television screen (fullscreen) in a public area and get it to loop.
I don't want to have to VNC into the computer to start the video because I want to build a batch system to change displays.
I have tried a ton of solutions and I am stuck on one that ALMOST works.
I am trying to use psexec to launch a VLC Media Player instance and then use pskill to shut it down, remotely. psexec doesn't play well with VLC Media Player directly so I am launching it from a .cmd. My simple start to the play.cmd looks like this.
cd c:\program files (x86)\videolan\vlc
vlc.exe test.wmv --fullscreen --loop --no-video-title-show
exit
The psexec command I carry out on my computer looks like this:
psexec \\myremotecomputer -i -s c:\play.cmd (I couldn't get the .cmd to launch from a folder structure with spaces so I moved it to the root to simplify the path and it works?)
Like I said, I use pskill to end the presentation. It all works fine thus far, but the pskill process stays in memory on the remote machine. So when I run another display and try to kill the new one, the pskill command reports that it's already running on the remote machine and cannot carry out it's duty.
This is my pskill syntax:
pskill \\myremotecomputer -t vlc.exe
Is there a fix, or can you suggest a more graceful way of accomplishing this routine?
Thanks so much for any help you can offer me,
Dave
Win 7 x64 Ultimate (local and remote machines)
Page 1 of 1
Trying to automate remote video (psexec and pskill) Launching remote video, fullscreen from a command line
#2
Posted 21 January 2011 - 08:37 AM
I'm not too sure about this question (subject matter) other than it doesn't belong in GD. I'll move it to Software Hangout, also it could also be networking, scripting or media related.
Share this topic:
Page 1 of 1



Help
Back to top








