Developer

Windows Terminal Commands

Search common CMD and PowerShell commands with descriptions and copy-ready examples.

dir

List files and folders in the current directory.

Files

dir

cd

Change the current directory.

Files

cd C:\Users

copy

Copy files from one path to another.

Files

copy source.txt backup.txt

move

Move or rename files and folders.

Files

move app.log logs\app.log

del

Delete one or more files.

Files

del temp.txt

mkdir

Create a directory.

Files

mkdir reports

type

Print a text file to the terminal.

Files

type package.json

findstr

Search for text in files.

Search

findstr /s /i "error" *.log

ipconfig

Display network adapter configuration.

Network

ipconfig /all

ping

Test connectivity to a host.

Network

ping example.com

tracert

Trace the route to a network host.

Network

tracert example.com

netstat

Show active connections and listening ports.

Network

netstat -ano

tasklist

List running processes.

Process

tasklist

taskkill

Stop a process by PID or image name.

Process

taskkill /PID 1234 /F

Get-Process

List running processes in PowerShell.

PowerShell

Get-Process

Get-ChildItem

List files and folders in PowerShell.

PowerShell

Get-ChildItem -Force

cls

Clear the terminal screen.

Console

cls

echo

Print text or show environment values.

Console

echo %PATH%

set

Display or set environment variables in CMD.

Environment

set NODE_ENV=production

where

Find the location of an executable.

Search

where node

tree

Display a directory tree.

Files

tree /F

attrib

View or change file attributes.

Files

attrib +h secret.txt

chkdsk

Check a disk and display status information.

Disk

chkdsk C:

diskpart

Manage disks, partitions, and volumes.

Disk

diskpart

sfc

Scan and repair protected system files.

System

sfc /scannow

systeminfo

Display detailed computer and operating system information.

System

systeminfo

shutdown

Shut down, restart, or log off the computer.

System

shutdown /r /t 0

sc

Query, create, or control Windows services.

Service

sc query wuauserv

net

Manage users, shares, services, and network resources.

Network

net user

nslookup

Query DNS records.

Network

nslookup example.com

route

View or change network routing tables.

Network

route print

Get-Service

List Windows services in PowerShell.

PowerShell

Get-Service

Set-Location

Change directory in PowerShell.

PowerShell

Set-Location C:\Projects

Select-String

Search text using PowerShell.

PowerShell

Select-String -Path *.log -Pattern error

Invoke-WebRequest

Make web requests from PowerShell.

PowerShell

Invoke-WebRequest https://example.com

FAQ

Questions people ask

What is the Windows command lookup for?

It helps you quickly find common Windows terminal commands, understand what they do, and copy example usage.

Can I filter commands by category?

Yes. Use the category controls to narrow results by files, network, process, system, and other command groups.

Can I copy command examples?

Yes. Each command includes a copy button with a short copied confirmation message.

Related tools

Continue working