Rather than bother with flat files all the time why not use external database enrollment? It just takes creating one more table in your database of choice. Then, if you can have this table updated whenever students are added /removed from a course (manually or with some SQL programming), course enrollment and enrollment will be automatic for you...
Jay
Enrolment
Bulk Enrolment Updatesr
This discussion has been locked so you can no longer reply to it.