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 ?
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 ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Read a file that is opened by another process
by BrowserUk (Patriarch) on Nov 20, 2010 at 15:51 UTC | |
by ikegami (Patriarch) on Nov 20, 2010 at 23:59 UTC | |
by BrowserUk (Patriarch) on Nov 21, 2010 at 00:17 UTC | |
by ady (Deacon) on Nov 20, 2010 at 16:06 UTC |
In Section
Seekers of Perl Wisdom