Hi all, i'm new here.
I'm not very good with batch scripts. I'm writing a simply batch script for schedule two tasks:
1. first, i have to play a video in windows media player;
2. after the video with win media player finishes, i want to open a page with chrome.
The two istructions to do that are very easy, no problem. But i don't know how to open chrome (2.) ONLY after (1.) finishes. I tried with /W, but it works not for me, because it doesn't close the window media player window, so does not automatically open chrome.
Any suggest?
Thank you very much, and sorry for my bad english.
A simply schedule, but how?
Moderator: DosItHelp
Re: A simply schedule, but how?
Unfortunately Windows Media Player was designed not to be able to close after playing.
The usual solution is to use a 3rd party player product.
The usual solution is to use a 3rd party player product.
Re: A simply schedule, but how?
Different versions of Windows Media Player have different command line options.
Older versions used to support a play and a close switch.
Older versions used to support a play and a close switch.