Solomun Posted February 21, 2016 Posted February 21, 2016 (edited) Hello there guys, i was wondering if there is any program for music that has the option to set it close after x minutes. Every night when i go to bed i want to listen to some music before i sleep, then i want the music to stop :P. I know that i can set my PC to shutdown, but i dont want to shutdown it... If u know any programs with this option, please let me know. :) I tried so far: Windows media player Winamp BSplayer I searched in google, but didnt find anything... Edited February 21, 2016 by Solomun Quote
~Sens Posted February 21, 2016 Posted February 21, 2016 (edited) Check that Edited February 21, 2016 by ~Sens Quote
Solomun Posted February 25, 2016 Author Posted February 25, 2016 This is old version of windows/windows media player...already tried it and it doesnt work Quote
bravetobe Posted February 26, 2016 Posted February 26, 2016 (edited) EDIT: (For less compicated stuff) Before u go to sleep just run this bat @ECHO OFF timeout 5 //time set to seconds taskkill /im notepad++.exe /f //Kill the exe Edited February 26, 2016 by bravetobe Quote
bravetobe Posted February 26, 2016 Posted February 26, 2016 Yeaaaaah pure and simple! If someone wants to do it in C,does fopen fclose work? DansGame ... I might did something wrong with the pointers :rage: Quote
Solomun Posted February 26, 2016 Author Posted February 26, 2016 (edited) EDIT: (For less compicated stuff) Before u go to sleep just run this bat @ECHO OFF timeout 5 //time set to seconds taskkill /im notepad++.exe /f //Kill the exe I made this bat by myself and seems to work... ty for help anyway! ping 127.0.0.1 -n 1800 > nul TASKKILL /F /IM "wmplayer.exe" :: 1800 = 30 mins :: 900 = 15 minser :: 1200 = 20 mins Edited February 26, 2016 by Solomun Quote
xxdem Posted February 26, 2016 Posted February 26, 2016 I made this bat by myself and seems to work... ty for help anyway! ping 127.0.0.1 -n 1800 > nul TASKKILL /F /IM "wmplayer.exe" :: 1800 = 30 mins :: 900 = 15 minser :: 1200 = 20 mins lol Quote
Szakalaka Posted February 26, 2016 Posted February 26, 2016 If someone wants to do it in C,does fopen fclose work? DansGame ... I might did something wrong with the pointers :rage: fopen is for reading the files, not for executing. Quote
bravetobe Posted February 26, 2016 Posted February 26, 2016 (edited) fopen is for reading the files, not for executing. f** C :you serious?: , java 4 lyfe (i was trying to open the notepad and write ,thats why even my example was notepad /++ anyway) Edited February 26, 2016 by bravetobe Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.