Finding file
I am writing a program to monitor a directory and when a file appears in it, I need to check if the file is in use and if it isnt I need to change its extention.
the files name can be differnt though so how do I check if the file is in use if I dont know its name?
Thanks
I am writing a program to monitor a directory and when a file appears in it, I need to check if the file is in use and if it isnt I need to change its extention.
the files name can be differnt though so how do I check if the file is in use if I dont know its name?
Thanks