MY PURPOSE: I want to make a c++ program that could use DOS commands.
OPTION: I can make a batch file and put into it the DOS commands. But I don\'t know how
You probably want to look at the system, ShellExecute, and CreateProcess calls, to figure out which one is appropriate in this scenario.
system
ShellExecute
CreateProcess