0

Is there a way by which i can track a file programmatic-ally on my machine i.e whether it is copied somewhere else or modified.

Tracking whether it is copied somewhere else is very important. File name might also have been changed

ashmish2
  • 2,885
  • 8
  • 40
  • 54
  • No. I really don't know what else to say. – Brian Roach Oct 10 '11 at 05:07
  • Checking if a file is modified is quite easy, just check it's date of last modification. Whether it's been copied, that sounds a bit difficult to near impossible. What's the etc.? – Benjamin Lindley Oct 10 '11 at 05:11
  • ya i figured out the modified part.. by etc i mean if copied name might be changed also so I cant search the machine for same name – ashmish2 Oct 10 '11 at 05:14
  • 1
    See [this][1] thread for ways to monitor files/folders. [1]: http://stackoverflow.com/questions/931093/how-do-i-make-my-program-watch-for-file-modification-in-c – Chad Schouggins Oct 10 '11 at 05:20

1 Answers1

1

Since you are on Windows, look into the Journal API.

Don Reba
  • 13,814
  • 3
  • 48
  • 61