-
April 10th, 2009, 04:21 AM
#1
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.
-
April 10th, 2009, 04:37 AM
#2
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
Last edited by kolkoo; April 10th, 2009 at 04:40 AM.
-
April 10th, 2009, 06:46 AM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|