English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am in the scheduled tasks, and i want to play a certain file in winamp.

How do i write a .bat file that opens winamp and then plays a certain file.

assume the file is locate in c:\music

thanks

2006-12-29 14:54:49 · 2 answers · asked by f1avor_f1av 3 in Computers & Internet Programming & Design

2 answers

The first part of the bat file will be the location of winamp. It should be similar to "C:\Program Files\Winamp\winamp.exe", including the quotes (I don't have the exact path). The second part will be the file.
So:

"c:\Program Files\Winamp\winamp.exe" "c:\music\song.mp3"

That line will be the whole bat file. Windows isn't case sensitive, so don't worry about the case. Note: this may (probably) leave winamp open after it is done playing.

2006-12-29 15:03:45 · answer #1 · answered by Bryan A 5 · 0 0

Actually, you don't have to write a batch file. If you click Add Scheduled Task and choose your application (winamp), then it will take you through the setup process. Set it up for the time(s) you want it to go off. When you get to the last page, put a check mark in the box for opening the Advanced Properties. Then click Finish. When it opens the advances properties, your cursor will be in the Run box. Simply put a space after the last character and add c:\music\thisismysong.mp3 and it will open it and run the song. I do this with Windows Media Player to set alarms for myself all the time! :)

2006-12-29 15:07:30 · answer #2 · answered by yowhatdoyouwant 4 · 0 0

fedest.com, questions and answers