Formatting a FAT Partition

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Once you have chosen to use a file allocation table (FAT), exFAT, or exFAT with TFAT file system for a volume, you can implement FAT. After you have implemented FAT on a volume, your volume includes functionality of the type of FAT system you choose.

This procedure assumes you have an OS design that includes Storage Manager and a FAT file system.

To use FAT on a volume

  1. In the Windows Embedded CE Control Panel, select Storage Manager.

  2. In the FAT Utility dialog box, select the desired partition to format, or create a partition, if one is not available.

  3. On the Properties menu, select Format.

  4. To format a partition for FAT, set the FormatFATVersion registry setting.

    You can set the FAT version to 12, 16, or 32.

  5. To format a partition for TFAT, set the FormatTfat registry setting to 1.

    If this value is set to 1, any unformatted volume is automatically formatted as a TFAT volume.

    A FAT volume must have two file allocation volumes to be converted to TFAT. Operations in directories that have already been created using FAT may not be transaction-safe.

    For Windows Embedded CE:

  6. **To format a partition for exFAT, set the FormatExfat registry setting to 1.

    - or -

    Call FormatPartition.

    If this value is set to 1, any unformatted volume is automatically formatted as an exFAT volume.**

See Also

Concepts

FAT File System
FAT File System Registry Settings
Extended FAT File System

Other Resources

Transaction-Safe FAT File System