I am trying to delete several files from a directory. Before I start deleting I want to test each file to see if it is open by another progam. What is the api I can use to accomplish this?
Printable View
I am trying to delete several files from a directory. Before I start deleting I want to test each file to see if it is open by another progam. What is the api I can use to accomplish this?
use the KILL command as follows
Kill("the path of your filename")
This will rise error number 75 if the file is locked by an application.
Cheers!!