This is how I have done the same thing - only I open the txt file using FOPEN()
Jeff Jeff Johnson [email protected] SanDC, Inc. 623-582-0323 Fax 623-869-0675 Phoenix Python User Group - [email protected] MB Software Solutions General Account wrote: > On Mon, January 12, 2009 1:59 pm, Gil Hale wrote: >> I had to do that once, long ago. I took a brute force approach as it was >> a one-off situation. I shelled to Command Prompt and changed to the >> directory in question. I then ran "dir *.dbf > file_list.txt" >> >> I then took the resultant file_list.txt and imported it into a table for >> analysis. I never bothered coding that technique as I never thought I >> would need to do it again, but it would be failrly simple to do, IMHO. In >> fact, I would likely do it all in Fox code were I to need such a tool >> available for future projects. > > > You'd think it wouldn't be too hard but how do you handle all of the > blanks (Hex 20) between the values? If it were a single TAB that'd be a > piece of cake with APPEND but my first thought is that APPEND won't work > on multiple continuous spaces like that. > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

