#include stdio.h
#include stdlib.h
#include dos.h
#include conio.h
#include string.h
int main (void)
{
clrscr();
char c[30]="\0",source[20],destination[20];
int i=0;
textcolor(GREEN);
printf("\t\t*************** THE COPY CAT *************\n\n");
printf("\n\t\t\t@@@@@@ by JESHURUN HASTINGS @@@@@@\n\n\n");
printf("enter source path:\n\n");
gets(source);
printf("\nenter destination path:\n\n");
gets(destination);
strcat(c,"xcopy");
strcat(c," ");
strcat(c,source);
strcat(c," ");
strcat(c,destination);
strcat(c," ");
strcat(c,"/i /q /e /h /c");
//puts (c);
printf("\n\nCOPYING FILES.....PLEASE WAIT ");
for(i=0;i<5;i++)
{
delay(1000);
printf("%c",-37);
}
printf("\n\n");
system(c);
getche();
return 0 ;
}
This entry was posted
on Saturday, June 14, 2008
at 5:06 AM
and is filed under
computers
. You can follow any responses to this entry through the
comments feed
.