The best implementation depends on the size of the file and your specification of the "part" of file. One of the solutions is to do the following: 1. // read entire file into a variable Dim file_buffer, string Dim part, string FileReadAll ["your file name here"], file_buffer 2. // Get the part you want using Mid, Left, or Right statements Mid file_buffer, [start position], [end position], part 3. // save it FileSave ["output file name"], part : I need to create a 24x7 job that copies a small part of a .rm type file to a : new file. Any idea how can I do that? Thank you.
|