I need to open a file in "standby" mode from a shortcut, wait for an introduction speech and then play the file.
How can I open the file in Windows Media Player 11 by command-line without playing it?
3 Answers
According to this you can use /open in Windows Media Player 6.4, but it seems that the command line options have since changed.
1You can make a .bat/.cmd file with a pause statement. At the end of the intro you can then press Enter and the video will start. Here's an example:
@echo off
echo Tested on Windows 7 64-bit
pause
start /d "%ProgramFiles(x86)%\Windows Media Player" wmplayer.exe "C:\Users\Username\Videos\GTA 4\test.avi" 1 Simply type the song name as music.mp3.
If there is any space in songs name just write it as "music new.mp3". Here, music stands for the title of the song you wanted to play.