/build/static/layout/Breadcrumb_cap_w.png

Windows Media Player shutdown???

want to place a batch file in the run once section on all computers to play a video once the user logs in using Windows Media Player.
How do i properly have the Media Player exit once the video is played without user interaction:

@echo off
:start
cls
echo ******************************************************************
echo * A Safety Video will now be played on your desktop *
echo * Please turn your speakers on at this time if you *
echo * have them *
echo ******************************************************************
echo.
pause

"C:\Program Files\Windows Media Player\wmplayer.exe" "C:\Program Files\Windows Media Player\safety.wmv"

Any help would be appreciated...it's been a while in DOS world

0 Comments   [ + ] Show comments

Answers (1)

Posted by: AngelD 15 years ago
Red Belt
0
%ComSpec% /c "<path to batch file>" ?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ