-
March 12th, 2009, 01:29 AM
#1
get starting sector of a file on a fat32 drive
hi guys can anyone provide me with any code to get the starting sector of a file on disk drive...i want to read the file using low level sector read and modify the file attributes..but on a fat32 or any fat file system the files ar arranged in FAT table ...i want to get the sector of the entry of file in /fat table of the file system as the attributes are saved in the FAT table entry of each file .can any one provide me with nay help....
i am able to read the fle with createFile and ReadFile
sector wise....i can search for the sector manually but it will take a lot of time so i was expecting for a faster direct and easier way to get starting sector of file ....any one plzzzz help if you can
-
March 13th, 2009, 04:37 AM
#2
Re: get starting sector of a file on a fat32 drive
system management and WMI might do it. This might also help to get you going on some of the parameters http://msdn.microsoft.com/en-us/libr...79(VS.85).aspx
If you find my answers helpful, dont forget to rate me
-
March 13th, 2009, 04:53 AM
#3
Re: get starting sector of a file on a fat32 drive
thnx a lot for the rep;yy
Tags for this Thread
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
|