in reply to Re^2: help, please!
in thread Database file does not open

Thank you very much, Net. The script cannot find the text file and I have now something to work with. Your help is much appreciated.
Karl I forgot a closing forward slash on the path to the directory with the result that it was looking for the directorytextfile.txt as the file name. Adding this $! is a great idea. Thanks again!