Hi all,
i want to create a file temp.txt in the E:/Route400/amlv1 folder.
On running this code the file always lands up in E:/Route400/ and not E:/Route400/amlv1
Any probelm with the fopen statement ?? any other way to specify path ??
====================================
system("E:");
system("cd\\");
system("cd route400");
system("cd amlv1");
fp3=fopen("temp.txt","w");
fprintf(fp3,"%s",a);
fclose(fp3);
fflush(fp3);
system("cd\\");
system("c:");