Ahhh dang. Hmmm, Im gonna keep at it.
Type: Posts; User: Cgrasshopper
Ahhh dang. Hmmm, Im gonna keep at it.
I was wondering if it was possible to use a string or integer inside of a system command.
while ( x < 10 ) {
system("copy c:\\new\\example.txt c:\\new2");
...
I found what I was looking for. It was the system() function. Thank you for your patience :)
I think I may have explained that wrong. I was rather vague. I am thinking of a C program that would open up ms dos and input commands, rather then a user input. Im being vague because I generally...
How would you go about writing a program that uses MS-Dos.
Ex. I wanted to open up command prompt and input the command "Start /separate e:\example.exe".
Thank you very much. And no problem.
I was wondering if it was possible to return to a previous part of the code. I will use a small example. I apologize if this is a n00by question.
#include <stdio.h>
#include <string.h>
int...