Is it possible to send commands to the command prompt from a C or C++ program and if so how do you do it? For example, can I change the attributes of a file to read-only(attrib) or list all files in a directory (dir) from my C program? Thanks!