title: How to send Shutdown command to process through CMD Prompt on Windows
body: <p>I'm currently working as software developer and I'm using bunch of tools, so I need to close them all when finished with the work. So what I have done I have created batch file with the tskill command and list of programs that i use e.g.</p>
  
  <pre><code>tskill skype
  tskill outlook
  tskill devenv
  tskill explorer
  start explorer
  </code></pre>
  
  <p>There is one problem with this, changes in tools are not saved when process is killed, for exampl last project, opened files, visual positions of controls and all other stuff. These settings are saved only when you close your tool, but it's really time consuming to click each of them.</p>
  
  <p>So my question is: <strong>Can I send shutdown command to software instead killing process?</strong> </p>
  
  <p><strong>Note:</strong> <em>I need command for CMD, not programing solution, as I have mentioned above I need command like "tskill skype" which kills skype process. Windows can send this command, because when you shutting down your windows, windows is sending shutdown command to all running programs. But if can't be shutdown then windows kill process as I do it above.</em></p>
  
  <p>Thanks in advance.</p>