Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. willi808

    what is wrong with the recursion

    thanks
  2. willi808

    what is wrong with the recursion

    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...
  3. willi808

    what is wrong with the recursion

    //search all subdirectories (recursion) void SearchAllDir(char *argv1, char *argv2) { struct find_t sdir; //file attribute in a struct char buffer[500]; //buffer of path (drive and directory) char buffer2[500]; //buffer of path...
  4. willi808

    what is wrong (time function und dos)

    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...
  5. willi808

    _rmdir

    thanks, the size of my stack wasn't enough... but when i reach the deepest path it stops deleting!?
  6. willi808

    _rmdir

    can it caused by array's with the size of 256?
  7. willi808

    _rmdir

    path: f:\eb\ebooks\hacking\anleit~1\sortie~1\alles_~1\anti_t~1\htmlfiles before = 1851 files after = 1076
  8. willi808

    big problem with movalbe items

    hi, there's a big problem. i have a source code and i should take the ellipse-item's in the window make movalbe. but i don't know how... thanks
  9. willi808

    _rmdir

    i have also any other question. if i have a long path name with a lot of files then i get a stack overflow. what can i do i your mind?
  10. willi808

    _rmdir

    thanks
  11. willi808

    _rmdir

    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)...
  12. willi808

    _rmdir

    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...
  13. willi808

    _rmdir

    thanks but this is not the solution. i need it for 16bit under dos. there aren't such things like cstdfile or cfile. sorry but thanks
  14. willi808

    _rmdir

    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

Part and Inventory Search

Back
Top