Hello, I'm trying to create a program that installs a directory and then runs some commands in a console of that directory that is installed. I think I could manage doing running the console commands, but I'm having a real hard time in trying to make my program install the directory. How would I go about doing this?

Recommended Answers

All 2 Replies

It depends on the operating system you're using. In Windows, the _mkdir() command does what you need. For Unix, see http://linux.die.net/man/2/mkdir .

I'm using Windows 7. When people run the program, they'll see a 'install' button. Once they click that, I want it to install the directory I have into the specific location. I know I sound really noobish right now, but you have to start off somewhere...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.