The format command is used to format a partition to a file system. It's available from the Command Prompt and MS-DOS.