How to make MediaPlayer run in the background with VBS?
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Set Player = CreateObject("WMPlayer.OCX")
Player.url = "file://C:\WINDOWS\system32\oobe\images\title.wma"
WScript.Sleep 1000
wscript.Sleep Player.currentMedia.duration *1000