title: How can I open command line prompt from Sublime in windows7
body: <p>I'v created a function in VIM named OpenCMD(), it used for open command line or terminal in VIM (And cd in the current file path)</p>
  <pre><code>func! OpenCMD()
      if has('win32')
          let com = '!cmd /c start cd '. expand('%:p:h')
      else
          let com = '!/usr/bin/gnome-terminal --working-directory=' . expand('%:p:h')
      endif
      silent execute com
  endfunc
  nmap cmd :call OpenCMD()
  </code></pre>
  <p>Now, I want to open command line and cd in the current file path in Sublime (sublime 3 beta). The function as the same as the <code>OpenCMD()</code>.</p>
  <p>And I searched an question in stackover flow: <a href="https://stackoverflow.com/questions/12103028/sublime-text-2-open-cmd-prompt-at-current-or-project-directory-windows">Sublime Text 2 - Open CMD prompt at current or project directory (Windows)</a></p>
  <p>I did as the the first guy answered (Create cmd, cmd.py and Context.sublime-menu). But it cannot work, the cmd operation always disabled.</p>
  <p><img src="https://i.stack.imgur.com/WyiBA.png" alt="cmd_in_sublime3" /></p>
  <p>Is there any way can get it? Thanks in advance!</p>