Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Play MP3 Files

Keywords:   MP3

Question:

Is there a way to play MP3 files using Winbatch?

Answer:

I play MP3's from Winbatch with the following code:
mpegName="path to mpeg file"
PlayMedia("open mpegvideo!%mpegName% alias music")
PlayMedia("play music")
You must have Windows Media player 2.0 or higher for this to work.
Article ID:   W14303
Filename:   Play MP3 Files.txt