Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the windows menu there are some default actions, each one corresponding with a batch command.

shutdown /s /t 0
shutdown /h /t 0
shutdown /r /t 0

Is there a way to add a new button to that list, and to start a .bat when clicking on it?

share|improve this question
why a batch file when you have vbs ? – Lorenzo Von Matterhorn Mar 26 '13 at 14:44
Well, it could be a .vbs, I don't mind. The point is to execute something. – MPMP Mar 26 '13 at 14:50
You'd probably have to have the Windows source available in order to do that; to the best of my knowledge, short of recompiling, there is no simpler way to add arbitrary actions to that particular fly-out menu. (At best, you'd need to find source for something like ViStart, modify it, and build what in effect would be a replacement Start menu -- and as far as I know no such source is legally available.) What are you trying to accomplish? That is, in what cause are you asking the question you are? Perhaps there's another way to do it. – Aaron Miller Mar 26 '13 at 17:29

You must log in to answer this question.

Browse other questions tagged .