|As far as I'm aware, there's no way to Password protect a file as such, however what you COULD do, if you have access to other applications such as VB6, is make an executable to write a batch file as hidden/read only, and run it. That way your program writes the batch file, runs it and deletes it. Nobody sees the batch file. Only you can edit the VB6 Code because it's compile and hidden by the time other people can access it. Make sure you change the Attributes before you delete it though, from vbHidden to vbNormal, then you can use Kill to delete it.|
Otherwise mate, I can't help - sorry. Was just throwing another language at you.