Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
hi everyone
I want to write a program with C++ or VB6 that Convert FAT to NTFS but i dont know how i write that. please help me to write this program.
thanks a lot
Posted
Comments
Sergey Alexandrovich Kryukov 1-Mar-12 20:44pm    
Well... do you want to format the volume as NTFS, or you also want to preserve the files?
--SA
Emilio Garavaglia 2-Mar-12 2:06am    
FAT and NTFS have a completely different internal structure. "Converting" (I meam: "in place converting") is practically impossible. You will soon end-up in creating another volume, and move the files in it. But at that point, you just have to invoke the OS functionalities.

It's not calling a cat "dog" that make it barks.


I don't have much knowledge about it.

but I think you would have to start from:
1. DDK or SDK
2. FAT32 File System
3. NTFS file system
 
Share this answer
 
Microsoft supplied a conversion utility with Windows XP. See the link below

SQL
How to Use Convert.exe to Convert a Partition to the NTFS File System

[^]

Alan.
 
Share this answer
 
pass arguments to command line like

C++
system("format d: ntfs")
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900