Discussion Locked

running a program after it is launched

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I know how to schedule a task for a program to start with task scheduler in windows 2000 but I want to tell the program to do a specific job after it gets launched. For example, I want to winamp to play a song after it gets launched by the task scheduler. Can someone show me how to do this? Perhaps, I need a tutorial on batch and scripting, does anybody of a good place or book to learn this???

6 replies

by ctr2000

Not that i know of.
A batch program can be made to run a program but but to make it play a song within the application would mean you would have to rewrite the code within the program, which can't be done on your side. But who knows maybe someone has an idea.

Good luck.

by gigelul

About your example:
-I try this command in a batch file and winamp was launched and play the song "filename".

by gigelul

This example has the files (winamp.exe and filename.mp3) in the same directory. You must customize your batch with path for winamp and songs.

This discussion is closed to new replies.