The later version of Windows wmplayer command is capable of playing. If you need to play other media files, use an alternative command line media player that is not included with Windows. mp3 files or other audio files, this program will not work. mpla圓2 /play /close "c:\windows\media\windows xp error.wav"Įarlier versions of the Media Player (mplayer) can only play.
XP SOUNDS SONG FULL
If the file or directory has a space in it, make sure to include the full path in quotes, as shown. mpla圓2 /play /close c:\windows\media\chimes.wav In this example, we are playing the Windows chimes file. Finally, the remainder of the line is the full path to where the audio file is stored. The /play and /close switches tell the program to play the file and then close when done. Windows XP and 2000 mpla圓2 examplesĪs shown in the following example, we are using mpla圓2 as the program to play the file.
Alternatively, you can use another media player program, such as MPC-HC, which does have a /close option. If you need a close option to run a series of different files, you may consider using the "/Playlist PlaylistName" switch to have Windows Media Player play a playlist. Unfortunately, Microsoft has not included a /close option for wmplayer. If the directory or audio file name has a space in it, make sure to enclose the entire path and file name in double quotes, for example: start wmplayer "c:\mp3\example audio.mp3" Where is the wmplayer /close option? start wmplayer c:\mp3\example.mp3Īs in this example, always specify the complete path to the audio file, including the drive letter. The following command cause Windows Media Player to open and play the audio file example.mp3.
XP SOUNDS SONG WINDOWS 8
Windows Vista, Windows 7, and Windows 8 wmplayer examples Windows XP and 2000 users should use mpla圓2 (as shown in the following examples), and Windows Vista and Windows 7 users should use wmplayer. Windows 95 and 98 users should use mplayer. In previous versions of Windows, the Media Player executable was named mpla圓2.exe or mplayer.exe. In Windows 10, the Media Player executable file is located at Program Files (x86)\Windows Media Player\wmplayer.exe.
The Windows Media Player can run from the command line, or in a batch file, to play sound files. If you want Windows Media Player to play the audio file regardless of what other audio players are installed, continue to the next section. However, if the computer has a different audio program that re-associated the audio files, the other program is used instead. Using the start command opens the file in the default audio player, which means by default, audio files open in Windows Media Player.