How to Play a Sound File at a Specified Time Using System Agent

Last reviewed: May 21, 1997
Article ID: Q168789
The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Plus! for Windows 95

SUMMARY

If you have Microsoft Plus! for Windows 95 and a functional sound card installed, you can create a new task in System Agent to play a sound at a specified time. This might be useful if you want to play a chime at noon or hear a reminder to take a break at a certain time every day.

MORE INFORMATION

To create a new task in System Agent to play a sound at a specified time, follow these steps:

  1. Click the Start button, point to Programs, point to Accessories, point to System Tools, and then click System Agent.

  2. On the Program menu, click Schedule A New Program.

  3. Type the following text in the Program box:

          c:\windows\sndrec32.exe /play /close <path to sound file>
    

    For example, to play the "The Microsoft Sound.wav" file, you would type:

          c:\windows\sndrec32.exe /play /close c:\windows\media\
          the microsoft sound.wav
    

  4. Click When To Run. Choose how often to play the sound file in the Run box, and then choose a time to play the sound file in the Start At box.

  5. Click OK, and then close System Agent.


Additional reference words: 95
Keywords : kbsound kbtool win95 winplus
Version : 95
Platform : WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.