How to jump directly to the MFT of a file
Hi all,
I am having a problem to jump over to the MFT(metadata file)of a file. Suppose I have a D: drive (NTFS) and I have a file "Mydata.doc" in it. Now i need to go to its MFT. say suppose i have to change the creation date and time of that file.
Is there any API which can return me the offset or the sector number of its MFT by providing the handle of that file?
Thanks in advance.
Re: How to jump directly to the MFT of a file
I am not sure if there is such an API however if you want to change the file's creating time you can always use GetFileInformationByHandle combined with
SetFileInformationByHandle
Re: How to jump directly to the MFT of a file
thanks dear, but i have to jump to the MFT of that file. Is there any technique through which I can get the MFT offset of a particular file? there must be some way. that location is basically known as file record of a file.
How can I reach there?
thanks.