http://qs1969.pair.com?node_id=872672


in reply to Re: Read a file that is opened by another process
in thread Read a file that is opened by another process

Sorry, you're right BrowserUk, --
Let me rephrase the question:

* assume a file with exclusive access by a process (ex .NET C#: FileStream fs = fi.Open(FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None);

* it seems I can't use any Windows API to read that file, - not from managed C# at least, so i tried from Perl, - but I can't find a way here either.

* and no, Notepad will not open this file.

But I assume there must be a way, since some backup applications are able to copy files, that are currently opened by other processes ?