1

Suppose, I save a file on my hard disc drive(for example c:\abc.txt) that system file of my drive is in system file FAT32 or NTFS, I want to find physical address of this file for example sector number XXXXX to sector number yyyyy. please help me.

Ehsan
  • 2,273
  • 8
  • 36
  • 70

2 Answers2

2

For FAT:

For NTFS:

m0skit0
  • 25,268
  • 11
  • 79
  • 127
  • Thanks, But I want a program that do it for me, I don't know assembly language – Ehsan Mar 02 '12 at 08:27
  • Sorry, but I'm not going to do your work for you (mainly because I gotta do mine first). And you don't need assembly. C should be plenty. If you do at least give it a try, we can help. – m0skit0 Mar 02 '12 at 08:38
2

The tool you are looking for is called "nfi.exe" which is (used to be) part of the "oem support tools".

enter image description here

mox
  • 6,084
  • 2
  • 23
  • 35