I'm trying to drop a database (seriously) - first as the first line in a script re-creating that same database and second, when my first option failed numerous times, as a shell command. Every attempt has ended with an error:

ERROR 1009: error dropping database (can't delete '.\directory\address.frm', errno: 4869344)

I realize that it's telling me that it can't delete that file, but I can't figure out why. I've stopped and restarted the service just in case the file was in use, but no luck.

Anyone have any idea why this is causing a problem and what I can do to fix it? I'm running MySQL 3.23 on a W2K box.

Any help is greatly appreciated. Thanks.