Solved

Running a program with C++

Posted on 1998-07-27
2
185 Views
Last Modified: 2010-04-02
I am using the oldest version of Boreland C++.  I was wondering if anybody knows if you can run an *.exe program from within a program in C++.
0
Comment
Question by:LastChoice
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
PC-Alex earned 50 total points
ID: 1168735
Try the command

shell("DRIVE:\PATH\Program.exe");

The 'e' in Borland was intended ... ?
0
 
LVL 11

Expert Comment

by:alexo
ID: 1168736
* The spawn functions (spawnl, spawnv, etc).
* The exec functions (execl, execv, etc).
* The system function.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to convert MFC::CString to UTF8 wchar_t* 10 387
Need some help with mailto 16 34
FMX TEdit KeyUp handler detecting  "enter" key 4 40
Finding Divisors 5 39
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question