China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-05 15:07
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Parameters of wmplayer.exe View 2,038 Replies 7
Original Poster Posted 2007-06-17 16:33 ·  中国 湖北 潜江 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
wmplayer.exe is the default player for Windows. Its full name is Windows Media Player, abbreviated as WMP.

Maybe we often use it, but we don't know that it actually has some parameters.

It goes without saying that wmp followed by a media file. It also supports playlist files, such as.m3u. wpl.

If wmp is followed by multiple media files (separated by spaces), a playlist will be formed on the right.

Both mplayerc.exe and mplayer.exe have many parameters. mplayer.exe can play in full screen with -fs, and mplayerc.exe can use /fullscreen. I wonder if wmp also has corresponding parameters? So I tried several times and found that /fullscreen can be used to achieve full - screen playback. As for whether there are other parameters, I don't know.

In fact, many applications (non - command line) under Windows have parameters, such as IE and notepad.......

[ Last edited by 6622186 on 2007 - 6 - 17 at 05:09 PM ]
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 2 Posted 2007-06-17 20:01 ·  中国 甘肃 张掖 电信
金牌会员
★★★★
Credits 4,103
Posts 1,744
Joined 2006-01-20 13:00
20-year member
UID 49241
Gender Male
From 甘肃.临泽
Status Offline
These things can't be found on Google. Can reverse engineering be done?
Floor 3 Posted 2007-06-18 17:25 ·  中国 湖北 黄冈 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
Is it decompilation?

I only know that Notepad (notepad) and Paint (mspaint) have the /p parameter, IE has the -k parameter. And regedit
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 4 Posted 2007-08-15 16:18 ·  中国 福建 莆田 电信
初级用户
Credits 57
Posts 23
Joined 2007-04-23 05:19
19-year member
UID 86157
Gender Male
Status Offline
start/fullscreen mplayerc.exe "F:\movies\cartagra_op.mpg"

pause

Is that right?
Floor 5 Posted 2007-08-15 16:33 ·  中国 福建 莆田 电信
初级用户
Credits 57
Posts 23
Joined 2007-04-23 05:19
19-year member
UID 86157
Gender Male
Status Offline
start "C:\Program Files\Windows Media Player\mplayer.exe -fs" "F:\movies\cartagra_op.mpg"

pause

There is no way to play in full screen, please help!!!
Floor 6 Posted 2007-08-15 17:31 ·  中国 广东 珠海 香洲区 电信
初级用户
Credits 51
Posts 20
Joined 2007-05-25 10:39
19-year member
UID 89247
Gender Male
Status Offline
start mplayerc.exe /fullscreen "F:\movies\cartagra_op.mpg"

pause

I have replied to you in another post.
Floor 7 Posted 2007-08-16 09:31 ·  中国 广东 珠海 香洲区 电信
初级用户
Credits 51
Posts 20
Joined 2007-05-25 10:39
19-year member
UID 89247
Gender Male
Status Offline
--------------------------------------------------------
Windows Media Player Command-line Parameters
------------------------------------------------------

Command format:
  wmplayer ......

Parameter description:
  "path\filename": Play the specified file, double quotes are required.
  /fullscreen: Play in full-screen mode. The fullscreen parameter is invalid for some audio files.
  /Device: {DVD|AudioCD}: Directly play DVD or CD.
  /Task NowPlaying: Directly go to the "Now Playing" window.
  /Task MediaGuide: Directly go to the "Media Guide" window.
  /Task CDAudio: Directly go to the "Copy from CD" window.
  /Task MediaLibrary: Directly go to the "Media Library" window.
  /Task RadioTuner: Directly go to the "Radio Tuner" window.
  /Task PortableDevice: Directly go to the "Copy to CD or Device" window.
  /Task Services: Directly go to the "Premium Services" window.
  /Task SkinViewer: Directly go to the "Skin Chooser" window.



---------------------------------------------------------------
Media Player Classic (Storm Player) Command-line Parameters
---------------------------------------------------------------

Usage: mplayerc.exe "Pathname"

"Pathname" File or directory to load (supports wildcards)
/dub "Audio file" Load an additional audio file
/sub "Subtitle file" Load an additional subtitle file
/filter "Filter" Load DirectShow filter from dynamic link library (supports wildcards)
/dvd Run in DVD mode, "Pathname" refers to DVD folder (optional)
/cd Load all audio tracks of audio CD or (S)VCD, "Pathname" refers to drive path (optional)
/open Open file but do not start playing automatically
/play Player starts playing file immediately
/close Close player after playback (only when using /play parameter)
/shutdown Shut down operating system after playback
/fullscreen Start in full-screen mode
/minimized Start in minimized mode
/new Open a new player window
/add Add "Pathname" to play list, can be used with /open and /play parameters
/regvid Register video format
/regaud Register audio format
/unregvid Unregister video format
/unregaud Unregister audio format
/start ms Start playing at "ms" (= milliseconds)
/fixedsize width,height Set fixed size window dimensions.
/monitor N Open on monitor N, where N starts from 1.
/help /h /? Display help for command-line parameters (this dialog box)
Floor 8 Posted 2007-08-16 09:53 ·  中国 广东 佛山 顺德区 电信
初级用户
★★
Credits 193
Posts 98
Joined 2007-01-17 11:56
19-year member
UID 76803
Gender Male
Status Offline
...start wmplaer.exe c:\123.mp3
这家伙很聪明 什么都没留下
Forum Jump: