A program for reading and writing FAT32/EXFAT file systems.
List supported partitions.
fatio.exe listCreate an FAT/exFAT volume, Supported format options: FAT, FAT32, EXFAT.
fatio.exe mkfs Disk Part format [CLUSTER_SIZE]
# Example:
# fatio.exe mkfs 1 2 FAT
# fatio.exe mkfs 1 2 FAT 512Set/remove the label of a volume.
fatio.exe label Disk Part [String]
# Example:
# fatio.exe label 1 2 mydiskCreate a new directory.
fatio.exe mkdir Disk Part Dir
# Example:
# fatio.exe mkdir 1 2 \dirList files in the specified directory.
fatio.exe ls Disk Part Dir
# Example:
# fatio.exe ls 1 2 \Print files content from FAT partition.
fatio.exe cat Disk Part Dest_File
# Examples:
# fatio.exe cat 1 2 \text.txt
# fatio.exe cat 1 2 \files\text.txtCopy files from FAT/EXFAT file systems.
fatio.exe copy Disk Part Src_File Dest_File [-y]
# Examples:
# fatio.exe copy 1 2 D:\text.txt text.txt
# fatio.exe copy 1 2 D:\text.txt \dir\text.txt
# fatio.exe copy 1 2 D:\files \
# Update mode, copy only when the source file is inconsistent
# fatio.exe copy 1 2 D:\files \ -yRemove the file from FAT partition.
fatio.exe remove Disk Part Dest_File
# Examples:
# fatio.exe remove 1 2 \text.txt
# fatio.exe remove 1 2 \dirmove the file from FAT partition.
fatio.exe move Disk Part Src_File Dest_File
# Examples:
# fatio.exe move 1 2 \text.txt \abc.txtExtract the archive file to FAT partition.
fatio.exe extract Disk Part File
# Example:
# fatio.exe extract 1 2 D:\windows.isoDump the file from FAT partition.
fatio.exe dump Disk Part Src_File Dest_File
# Examples:
# fatio.exe dump 1 2 text.txt D:\text.txt
# fatio.exe dump 1 2 \dir\text.txt D:\text.txtChange file attributes for files on a FAT partition.
| Attributes | Description |
|---|---|
| A | Archive |
| R | Read Only |
| S | System |
| H | Hidden |
fatio.exe chmod Disk Part File [+/-A] [+/-H] [+/-R] [+/-S]
# Examples:
# fatio.exe chmod 1 2 text.txt +A +H +RSet disk MBR, support types: empty, nt5, nt6, grub4dos, ultraiso, rufus, syslinux.
fatio.exe setmbr Disk [--MBR_TYPE] [DEST_FILE] [-n]
# Examples:
# fatio.exe setmbr 1 --nt6
# fatio.exe setmbr 1 --grub4dos
# fatio.exe setmbr 1 D:\mbr.bin
# Do NOT keep original disk signature and partition table
# fatio.exe setmbr 1 D:\mbr.bin -nSet disk PBR, support types: nt5, nt6, grub4dos.
fatio.exe setpbr Disk Part [--PBR_TYPE]
# Examples:
# fatio.exe setmbr 1 1 --nt6
# fatio.exe setmbr 1 2 --grub4dosSet part id type (e.g. 0x07 represents NFT/exFAT, 0x0C represents FAT32).
fatio.exe setpartid Disk Part ID
# Examples:
# fatio.exe setpartid 1 1 0C
# fatio.exe setpartid 1 2 EFCommon partition type identifiers:
| part type | part format |
|---|---|
| 0x07 | NTFS/exFAT |
| 0x0C | FAT32 (LBA) |
| 0x83 | Linux |
| 0x82 | Linux Swap |
| 0x05 | 扩展分区 |
Set partition active.
fatio.exe setactive Disk Part
# Examples:
# fatio.exe setactive 1 1
# fatio.exe setactive 1 2Swap partition order.
fatio.exe swap Disk Part1 Part2
# Examples:
# fatio.exe swap 1 1 2