CMD Prompt Tools

Everything to make your Windows terminal experience fast, beautiful, and productive.

Built-in Commands

Powerful commands built right into cmd.exe — no extra tools required.

DIR — List Directory

List directory contents. /S recurses subdirectories, /B gives bare names, /O:N sorts by name, /O:S by size, /A:H shows hidden files.

FINDSTR — Search Text in Files

Search for text in files with regular expression support. /S searches subdirectories, /I is case-insensitive, /N shows line numbers.

TASKLIST / TASKKILL

TASKLIST lists all running processes. TASKKILL /IM name.exe terminates by name, /PID number by process ID, /F forces termination.

ROBOCOPY — Robust File Copy

Mirror directories, retry failed copies, log results. Use /MIR to mirror, /R:3 to retry 3 times, /LOG:file.txt to log output.

IPCONFIG — Network Configuration

Show IP addresses for all adapters. /all shows DNS, MAC, and DHCP details. /flushdns clears the DNS resolver cache.

NETSTAT — Network Connections

Show active TCP/UDP connections and listening ports. -ano adds PIDs to identify which process owns a port. -b shows the executable.

WMIC — System Information

Query hardware and OS info, e.g. wmic cpu get name, wmic memorychip get capacity, wmic logicaldisk get size,freespace.

SET / SETX — Environment Variables

SET VAR=value sets a variable for the current session. SETX VAR value persists it permanently; SETX /M sets a system-wide variable.

Comments

Sign in with GitHub to leave a comment or reaction.