Formatting a USB drive completely wipes all data on it and sets up a fresh file system. In Windows, you can do this quickly using either the graphical interface or the command line
1.Right-click the Start menu and select Terminal (Admin) or Command Prompt (Admin). 2.Type diskpart and press Enter. 3.Run the following commands one by one:
-
1.Right-click the Start menu and select Terminal (Admin) or Command Prompt (Admin).
-
2.Type diskpart and press Enter.
-
3.Run the following commands one by one:
text
diskpart
list disk
select disk x
list disk
clean
create partition primary
format fs=exfat quick
(You can change exfat to ntfs if you prefer).windows/diskpart.md
Related articles
- Linux Commandnslookup is a command-line tool used to query DNS (Domain Name System). It lets you find the IP address of a domain, perform reverse lookups, and query specific DNS records.Query a specific DNS server Find the IP address (A record) Find IPv6 address (AAAA record) Find MX (Mail Exchange) records Find NS (Name Server) records Find TXT records
- BashTo read from the sysfs virtual file system to gather information about your system's block devices (hard drives, SSDs, NVMe drives, USB sticks, and their partitions).To read from the sysfs virtual file system to gather information about your system's block devices (hard drives, SSDs, NVMe drives, USB sticks, and their partitions). — notes from the Bash collection.
- LinuxIdentify Your Network Interface & SubnetLocate Your Netplan Config File
- PowershellInstall / Enable OpenSSH Client on Windows 11 Alternatively, use PowerShell (run as Administrator):After installation, open PowerShell, Command Prompt, or Windows Terminal and type: Generate SSH Key Pair on Windows 11 Recommended modern key type: ed25519 (faster and more…