How can I create a file starting at a specific sector on the disk in Windows? Any programming language is acceptable. If it matters, the file system I am interested in is NTFS.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot create a file at a specific sector, but once you’ve created a file you can move it using the FSCTL_MOVE_FILE IO control code. There’s no guarantee that it won’t be moved again later on, though.