0

The CMD function is supposed to open a new command prompt window, however in Windows 7, it opens another inside of the existing one so if you typed in exit, it will simple exit the most recent one started. Is there a way to make CMD open a new window?

Shekhar
  • 5,009
  • 4
  • 33
  • 49
Glenn Nelson
  • 161
  • 1
  • 6
  • 3
    It does this in all versions of Windows AFAIK. Anyway, this isn't a programming question. – Marcelo Cantos Sep 23 '10 at 10:39
  • 1
    I think you better ask this question at super user. Link is http://superuser.com – MD Sayem Ahmed Sep 23 '10 at 10:39
  • 1
    Technically this is 'batch' programming: http://en.wikipedia.org/wiki/Batch_file Also, this is for a script so it is in fact coding related. –  Sep 23 '10 at 23:10

1 Answers1

4

Using start may or may not work, I can't recall and don't have Windows handy:

start cmd

OTOH, win+R (to bring up the Run dialog) then "cmd" will always do what you want.

  • I'm doing this from a script so Win-R wouldn't work, however start works just fine. –  Sep 23 '10 at 23:11