sorry,
my problem is - it works goods until i come into the longest path. then it goes only one level down, go to the next subdirectory and at the last it goes one level down and to the end etc. it never steps up anymore.
and i really don't know what's my mistake...
hello,
what is wrong?
i want to get the creation time of a directory (tcbuffer shows a wrong value).
'buffer' is an array with actual path...
struct _stat buf; //buffer of file status informations
struct tm *crTime; //time struct
char tcbuffer[500], tabuffer[500]; //array's for...
what is wrong. it don't delete all files from subdirectory how it should...
void DelDir(char *argv1, char *argv2)
{
struct _find_t sfile;
int result;
char buffer[256];
strcpy(buffer,argv1);
strcat(buffer,":\\");
strcat(buffer,argv2)...
yes i mean this.
but my biggest problem is to remove all files.
because i handle over the path (eg 'f:\progs\test') and then i want delete every file in the path (recursive).
void DelDir(char *argv1, char *argv2)
{
//argv1 is drive (eg 'f')
//argv2 is path (eg 'progs\test')
struct _find_t...
hi,
i must delete all files under dos (visual studio 1.5).
i use _rmdir but before deleting i must delete all file and i don't know how (without 'system'-instruction because it's a minimized dos version without these instructions).
can someone give a hint...
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.