i have seen some previous posts about locking files for read / write / edit when connecting to a database. i am using a flat file for a project and i was wondering if there is an asp command that will lock a text file similar to the way that database (access, etc) files are locked??