system() question

im trying to learn all the different things u can put in the ()s in system().
an example of one would be...
system("PAUSE") what this does is pauses the program until a key is press. If someone could tell me where i could find a list of different things u can do please post below.
Putting things into system() is just like putting them into the command prompt.

Here's a reference I found with google (assuming you're on Windows):

http://commandwindows.com/command3.htm

That said, you probably shouldn't be using system at all in your programs, and your desire to learn more about it is probably ill advised. Not that knowing more about it is a bad thing, but I'm just worried you're going to abuse it.

If you're trying to use system just to make your programs fancier, don't bother.
im not using it to do tricks on ppl or hack into others' computers if thats what you are thinking.
like one program i just made. When i start up my computer it auto runs my program. The program uses system("\"C:/programname.exe\"") to start up a few programs i use right away like mozilla firefox.
im not using it to do tricks on ppl or hack into others' computers if thats what you are thinking.


That's not what I was thinking. Typically people that use system use it to abuse the console because they want to do things the console is not really meant to do. I didn't want you to go down that road.

When i start up my computer it auto runs my program. The program uses system("\"C:/programname.exe\"") to start up a few programs i use right away like mozilla firefox.


Why would you need such a program?

If you can set up Windows to autorun that program, couldn't you just set it up to autorun firefox and whatever else?
couldn't you just set it up to autorun firefox and whatever else?


huh, i never really thought of that.
Topic archived. No new replies allowed.