Ok, so heres what I would like to do. I want to be able to go to a folder (cd *examplefolder*) and then remove a file in that folder.. so for example.
: cd Desktop
: rm example.txt
if I did that in terminal it would work but using the system() function isn't working. However I am using it in two separate functions like
Now it isn't that simple I am puting char arrays in for the commands, but same basic idea. Do I need to make it all in one command?