Re: How can I open a console window and run a command line?
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Thu, 9 Nov 2006 10:12:08 -0500
"Allen Maki" <allenmaki@xxxxxxxxxxxxx> wrote in message
news:00A4h.7337$9v5.561@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have been asked to build the application, open a
console window,
Choose Run from the Start menu, type
cmd.exe and
click OK
change to the project's Debug directory,
Look at the "change directory" command
cd
and run the program with a suitable command line, such as Cppfiles sa.
Once you are in the directory where the file cppfiles.exe is you can just
type its name.
Can anybody tell me how can I open a console window and run the program
with a command line?
I did that above, on the assumption that the instructions were to do that
manually. My guess is that you think that the instructions are asking you to
do that programmatically. I don't think that that is case because for
virtually all applications with consoles, there is no "open the console"
step. Consoles are opened automatically by the runtime for applications
which were tagged as console applications at link time.
Regards,
Will
.
- References:
- How can I open a console window and run a command line?
- From: Allen Maki
- How can I open a console window and run a command line?
- Prev by Date: Name conflicts with multiple .NET versions
- Next by Date: Re: XML documentation in unmanaged C++
- Previous by thread: How can I open a console window and run a command line?
- Next by thread: Re: VC++
- Index(es):
Relevant Pages
|