Dear Bob,
How are you?
Please refer to the below article, I think it will be helpful for this
issue:
Windows Media Player 11 SDK Command Line Parameters
http://msdn2.microsoft.com/en-us/library/aa386383.aspx
If you need further assistance, please feel free to let me know.
Thanks
Sincerely
Morgan Che
Microsoft Online Support
Microsoft Global Technical Support Center
Get Secure! -
www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
--->From: "Bob" <86c6c2e6-2146512712@news.postalias>
--->References: <41ACC57F-4997-40C0-B264-05AA69F170FE@microsoft.com>
<P6In5F6RIHA.6904@TK2MSFTNGHUB02.phx.gbl>
--->In-Reply-To: <P6In5F6RIHA.6904@TK2MSFTNGHUB02.phx.gbl>
--->Subject: Re: How to play sounds from a batch file
--->Date: Wed, 26 Dec 2007 10:24:14 -0500
--->Lines: 17
--->Message-ID: <53D328F2-3BEE-49C6-AF85-DAE73BA89B13@microsoft.com>
--->MIME-Version: 1.0
--->Content-Type: text/plain;
---> format=flowed;
---> charset="iso-8859-1";
---> reply-type=original
--->Content-Transfer-Encoding: 7bit
--->X-Priority: 3
--->X-MSMail-Priority: Normal
--->X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
--->X-MS-CommunityGroup-PostID: {53D328F2-3BEE-49C6-AF85-DAE73BA89B13}
--->X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
--->X-MS-CommunityGroup-ThreadID: 41ACC57F-4997-40C0-B264-05AA69F170FE
--->X-MS-CommunityGroup-ParentID: 0942723E-1CF8-4C66-84FC-D424F5189305
--->Newsgroups: microsoft.public.windows.vista.general
--->Path: TK2MSFTNGHUB02.phx.gbl
--->Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.general:225362
--->NNTP-Posting-Host: TK2MSFTNGHUB02.phx.gbl 127.0.0.1
--->X-Tomcat-NG: microsoft.public.windows.vista.general
--->
--->Hi Morgan,
--->
--->My Vista Windows Mail failed to download all the prior posts on this
thread,
--->so yours "looked" like the first response. I went to the web and saw
your
--->suggestion and here is what I found.
--->
--->The following command almost works except that it tends to open
wmplayer in
--->a window (as opposed to minimized as the "start /min" is instructing it
to).
--->Any ideas why the minimized fails more often than not?
--->
--->START /d "%ProgramFiles%\Windows Media Player" /min wmplayer
--->"%windir%\media\Windows Ding.wav"
--->
--->--
--->Thanks,
--->Bob
--->
--->