Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

3 Answers

up vote -1 down vote accepted

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

share|improve this answer
    
The /open option does not work any more. Answer should be deleted. –  Nifle Jul 13 '11 at 17:35
add comment

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"
share|improve this answer
    
Not exactly an answer to that question, but a nice idea! –  Mulmoth Jul 14 '11 at 11:01
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.