i still haven't figured out how to run dos commands like del, copy etc using exec.. and system(). Please provide some code or other commands.
This is a discussion on Didn't succeed with the exec..() within the C++ Programming forums, part of the General Programming Boards category; i still haven't figured out how to run dos commands like del, copy etc using exec.. and system(). Please provide ...
i still haven't figured out how to run dos commands like del, copy etc using exec.. and system(). Please provide some code or other commands.
I have only used a few system() commands. Here is how the system() command should be formatted. You can replace myprog.exe with del or copy I assume. I have only used myprog.exe and cls.
C++ Is Powerful
I use C++
There fore I am Powerful