Ok, I want to make a mini-installer for my program (Just moves the files from one spot to the other). I thought the easiest way to make one, would be to use dos commands, but I dont know how to execute thoes, and I'm not sure if it can create a folder. So, as an alternative, I thought why not just move all the files from one spot to another? So, I attempted this, then realize I have no idea how to move files :P.
So, naturaly the first spot I looked was at the System commands, sure enough:
This complicates my probelm because I dont know how to use the system command either >.<. I've heard its unsafe to. So, I dug for an alternative, a few premade installers came up, nothing opensource.Code:System("move(blah, blah)");
So, my question is, how do I make a relatively safe installer? And, could you provide a quick example of moving one file to the another directory?
(PS) Is system the base for executing commands? (Like if I type in del, is it taking the del.whatever file from system?)