Shell commands and other executables

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hey all,

How exactly would one execute a Windows shell command from a C/C++ program (compiled in Visual C++.Net)? Examples would be internal commands like:

copy *.* some\other\directory

or other executables and batch files, like:

java.exe somestuff.jar

Thanks.

Dave


.



Relevant Pages

  • Re: Opening files by extention type
    ... I tried System Exec.vi with document path only and it ... If you want to execute internal commands of the DOS shell you have to ...
    (comp.lang.labview)
  • Call a Matlab GUI in VB6
    ... Hi, I've built my standalone application with matlab using the C/C++ compiler but the application when I execute it, takes a long time to start and if I want to use it on another PC I need to install MCR. ...
    (comp.soft-sys.matlab)
  • Question about embedding python in C++
    ... When extending python in c/c++ after you register a module is there a ... way in c/c++ to check if they were correctly registered? ... Cause I'm having the problem where when I execute the the python ... script it finds the module but none of the functions. ...
    (comp.lang.python)