dos in c++

can i run a dos command in c++? i have vs6 and i am on a win32 console app.

my overall program is going to be something to the effect of ask for 2 parameters and use them in the dos command.
[b][green]Koozime![/green][/b]

Comments

  • : can i run a dos command in c++? i have vs6 and i am on a win32 console app.
    :
    : my overall program is going to be something to the effect of ask for 2 parameters and use them in the dos command.
    : [b][green]Koozime![/green][/b]
    :
    You can run a SYSTEM command with the function system(). In this case you'd be running either a DOS program or a Win32 analog to a DOS command.

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion