I am tried using functions system(), popen() in C, to execute the system call (cd filename, cd .. , other cd calls) in UNIX Environment.
but was unable to do so,
is working fine. its just the "cd calls" that is not fine.
i would like to open the directory on running the program. eg) >>cd folder
should display in unix.
Kindly help please by attaching a snippet