I am using VC++ express edit 2005 but I can also switch to C# 2005 express.

I would like to know if there is a cmd similar to the shell function which is found in visual basic.

The VB shell cmd basically allows one to execute a dot exe file from your VB code. The program(i.e. dot exe file) then runs in a command line interface and can do what it was programmed to do.

I would like to know if C# and C++ 2005 express has a similar command with which one can run a program. I would really like a command which returns a value to the program which invokes it. For example. If the dot exe has output, that it can put the output in variables and return the variables to the calling program

the system() command.