after reading this: http://support.microsoft.com/kb/137890 i was wondering does this utility also works in windows 7.

All i want is to run VLC player and start playing a song at each reboot. SO basically i want to run <<vlc.exe song-path>>.

Please tell me how can i do this?

Does anyone know who can i add a simple executable binary to run as NT service in windows 7. This is very important for me to know otherwise i will be a failure.

link|improve this question
2  
belongs on superuser. – Daniel A. White Jan 21 at 20:02
1  
I believe srvany.exe works on Windows 7, but you might like to consider NSSM instead: nssm.cc – Harry Johnston Jan 22 at 21:48
feedback

migrated from stackoverflow.com Jan 22 at 9:34

This question came from our site for professional and enthusiast programmers.

1 Answer

I think srvany may work on Windows 7, but it I doubt that a service in Windows 7 has access to the sound out channel.

I would solve this problem with either a scheduled task, triggered on log on, or using an entry in HKLM\Software\Microsoft\Windows\CurrentVersion\Run. Those are fully supported solutions that will work on Windows 7.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.