Today's tip shows how to format a USB flash drive with NTFS using Command Prompt and PowerShell commands. Command Prompt This example shows how to 'quick format' a memory stick mounted on D: drive to NTFS. The /V parameter assigns a volume label of 'NTFS-USB', and /A specifies the standard NTFS cluster size of 4096 bytes.

Some Mac users may require the ability to erase a disk or erase a hard drive from the command line on Mac OS, a task which is typically performed This guide will walk through how to erase and format an entire target disk using exclusively the command line on any Mac using macOS or Mac OS X.