Accessing "in Use" Files == ?

Home Forums Discussions General Discussion Accessing "in Use" Files == ?

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 9 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5201


    How can I access the files that are in-use by other processes. Say there is this file called “locked.txt”, which is in use by process A. Now how can I copy this file to another location programmatically. Normal methods will fail with the error “The process cannot access the file because it is being used by another

    Any ideas ?


    Vadim Smirnov

    If the file was opened in non shared mode then you won’t be able to access it from another process using Win32 API. However, you still can open the volume device in raw mode (bypassing the filesystem) and read sectors containing file data.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.