VB shell command counterpart in c++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2007
Posts: 266
Reputation: quintoncoert is an unknown quantity at this point 
Solved Threads: 3
quintoncoert quintoncoert is offline Offline
Posting Whiz in Training

VB shell command counterpart in c++

 
0
  #1
Jun 5th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,965
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 308
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Re: VB shell command counterpart in c++

 
0
  #2
Jun 5th, 2007
the system() command.

regards Niek
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC