954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

"Talking" to Command Prompt

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!

Ghost
Posting Whiz
352 posts since Aug 2004
Reputation Points: 12
Solved Threads: 2
 

Try using system(CP_String); ;)

letmec
Light Poster
33 posts since Sep 2004
Reputation Points: 10
Solved Threads: 2
 

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

Ghost
Posting Whiz
352 posts since Aug 2004
Reputation Points: 12
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You