Each file system has its own low level API for such things - so I'd suggest C is the better language to use.
I suggest you do some reading on
MSDN[
^] and, if still interested, get the book
Windows Internals[
^]
This is a
big topic though - be prepared to put in some significant work.