Hi Everyone,

I was wondering if there's a way to write a program that tells console to do certain commands. I think you can do it by using a function and writing the CP command as a string for the arguments.

Thanx in advanced for your help!

Recommended Answers

All 2 Replies

Try using system(CP_String); ;)

That's what I was looking for! Thank you.

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.