2

Since my waking clock is broken I want to use my computer, and I managed to make it launch a music through task scheduler, but I would like the interface to show when the task is being run, but opening the task manager to kill the process by hand is quite annoying, so I try to also open the GUI to be able to stop the task easily.

Here are a few command lines and tricks I tried :

  • wmpplayer /open /play "mymusic"
  • Creating a bat file launching the music and calling the bat with the task scheduler
  • Using start /B before my command

Also, using the launch option /close is not a solution, I want to be sure I stop the music by myself, cause I could not wake up from listening to the music only once =P

So is there a way to show the interface when the task is being run, or a way to quickly end the task without having to open the task manager and end the process manually?

8
  • I'm curious, I just built a batch file to start WMP through the task scheduler, but it works just fine and starts with an interface. You mean the program itself doesn't show up? Or is it the task scheduler interface that you want to have show up? Commented Aug 23, 2016 at 17:23
  • Yes, the music is heard, but the windows media player interface doesn't show up. What did you put in your batch file?
    – Dijdkay
    Commented Aug 23, 2016 at 17:25
  • Just having this works fine: cd "C:\Program Files\Windows Media Player" wmplayer.exe /open Commented Aug 23, 2016 at 17:26
  • I don't understand, my batch has the command wmpplayer /open /play "mymusic" in it and runs fine when launched by hand, but when the batch is launched thourgh task scheduler, the interface doesn't show up
    – Dijdkay
    Commented Aug 23, 2016 at 17:28
  • 2
    Let us continue this discussion in chat.
    – Dijdkay
    Commented Aug 23, 2016 at 18:28

0

You must log in to answer this question.

Browse other questions tagged .