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



The information in this article applies to:

  • Microsoft Windows 95
  • Microsoft Plus! for Windows 95

This article was previously published under Q168789

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.

Modification Type:MajorLast Reviewed:12/18/2000
Keywords:kbhowto kbsound KB168789