|
|
|
|
|
by nullymcnull
3062 days ago
|
|
> On Windows, once the file is open, it is that filename that is open; You can't rename or delete it It's simple for any application to open a file in Windows such that it will allow a rename or delete while open - set the FILE_SHARE_DELETE bit on the dwShareMode arg of the win32 CreateFile() function. In .NET, the same behaviour is exposed by File.Open / FileShare.Delete. |
|