Run command: About to shell to DOS
This program uses geten () and the environment variable COMSPEC to start a new shell.

dosshell sample running on Windows Vista

dosshell sample running on Linux

Note: To get the same result on Linux, you could execute a command "run bash"
to forcing the beginning of a new shell.
  How to compile:  
  To learn how to compile/link this example see our specific section on this link.