Author: EkRaghu | Posted on: 5/13/2009 8:43:40 AM | Views : 387

Hi,
 I need to delete few images and other files using File.Delete() Method  and  unable to delete few files [error: The specified file is in use.
]. Can some one tell me how to delete locked files [might be locked by IIS or windows]? Is there a way to unlock the file if i see the error while deleting a particular file and execute deletion operation?
I really would appreciate if somebody could reply me at the earliest.

...

Go to the complete details ...