RE: W2K problem with walk_dir?
- Posted by "C. K. Lester" <cklester at yahoo.com> Jan 29, 2002
- 436 views
Well, you'll be interested to know that it worked for me! It took a "Total Time" of 23 (seconds?). I used c: for the top directory. Maybe the slash is causing problems... No, I just tried it using "c:\" and it worked just fine... Except, in this case, it only took 2 seconds!!!! WTF??? (Why the frequency?) :) Anyway, have fun with it. ;) > -----Original Message----- > From: lists at wordit.com [mailto:lists at wordit.com] > Sent: Tuesday, January 29, 2002 9:46 PM > To: EUforum > Subject: RE: W2K problem with walk_dir? > > > > On 29.01.02 at 20:01 C. K. Lester wrote: > >I'm guessing what you have is your console window > >simply not staying open at the end of the program... > > No it's that. I did add that code. He actually gets an error message. > However, it only happens for root, i.e. C:\, not with subdirectories. > Could you try with C:\ ? > > The error message is: > > TEST.EX:42 in function look_at() > type_check failure, subdir is -1 > called from file.e:194 in function walk_dir() > called from TEST.EX:65 > > The line numbers may differ now, but line 65 is the one calling the > look_at function. It seems that walk_dir itself is causing a problem. > > Thanks, > > Marcus > > >