WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

FileOpen on a File Opened by Another Process

Keywords: 	  fileopen Intcontrol 39

Question:

I would like to open (read) a file that is currently opened by another process. When I try a binaryreadEx I receive a 1077 error code. Is There any trick to bypass this error and to open the file (filesizeEx give me the right size, and fileexist returns 2, but the file can be opened with notepad or other editors)

Answer:

Try adding:
IntControl(39,3,0,0,0)
before the FileOpen...
Article ID:   W15149
File Created: 2002:09:05:13:50:06
Last Updated: 2002:09:05:13:50:06