If I enter cmd, I enter the console window, but if I type cmd inside "cmd", it just start a sub shell of "cmd" inside it. My requirement is, in "cmd", I type one command, it brings up another windows "cmd" console.
How to do this? Thanks
Using start cmd
should do it!
You can even call a batch file the same way, changing 'cmd' to your batch filename.
If start cmd
doesn't work. You can try start call cmd
.