It it possible to program command prompt using c?
is it possible to make a program that can run another program?
Last edited on
The original Unix was written in C. The Unix had already a shell (written in C). A shell is a "command prompt".
Therefore yes, it is possible. Many shells are open source, so you can even read their source to find out how they do it.