Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detect file access 1

Status
Not open for further replies.

earlrainer

Programmer
Joined
Mar 1, 2002
Messages
170
Location
IN
Hi,

I have a file called a.txt.

I want to make a program that will show a message when any other program tries to access this a.txt

how can I keep a watch on this file.
 
unfortunately dirmon does not keep a watch on a single file.
and no events are fired when a file is accessed.(though there are events for file depetion,creation etc )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top