<< I am suspecting it is in how I am running the program via terminal services. All users access the same compiled EXE. Since the scratch files are set to the default temp folder, the temp files for all users are being stored in the same server temp folder. >>
How do the users log in to their terminal services sessions? If they all have their own userids, each user should get a different TMP directory automatically. If they're all logging in to the SAME userid, they would be sharing a temp directory. Even then, it shouldn't cause any problems, but I'd use separate logins anyway (that way, your application can determine who's using it). -- Larry

