1. You can use ADIR() function to get a list of the files in the specified directory into array.
2. You can split first field into two fields 160 characters long for import and than join them again during processing. You can use a memo field to store it after processing.
HTH
>Encountering problems in File Processing (rather than OOP VFP6.0)
>An automatic process is needed:
>ISSUE#1 How can I see if anyfilename exist?
>Recognize that a file resides in one of two subdirectories.
>Note the name of the file.
>ISSUE#2 How can Slight modifications (depending on content) to 320 char string?
>Read the ASCII text recs into a usable file (first field limited foxpro 254)!
>Delete that file after a successful storage of the data.
>
>The Issues are 1) 'anyfilename'
>The second issue limit exceeded during fileread
>
>Any suggestions or code welcome
>
>Ed B
--sb--