What I need to know is this: Can you write a program with C++ to do the basic functions used in the Command Prompt?
ie like writing a program to run the line
EDIT: Nevermind. I figured out that you don't need C++, you just need to save the function as a .BAT file.
Yep. Rather simple.