How to open a file in WMP 11 by command line without playing it?

1

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?

Antoine

Posted 2010-10-02T09:09:02.900

Reputation: 125

Answers

-1

According to this you can use /open in Windows Media Player 6.4, but it seems that the command line options have since changed.

ta.speot.is

Posted 2010-10-02T09:09:02.900

Reputation: 13 727

The /open option does not work any more. Answer should be deleted. – Nifle – 2011-07-13T17:35:52.767

3

You 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"

TackleBox

Posted 2010-10-02T09:09:02.900

Reputation: 43

Not exactly an answer to that question, but a nice idea! – Zeemee – 2011-07-14T11:01:20.057

0

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.

sazzad

Posted 2010-10-02T09:09:02.900

Reputation: 1