computer
CMD Commands
Windows Command Prompt commands for files, system administration, networking and batch automation.
REFERENCE Β· 30 ITEMS
CMD Commands
Windows Command Prompt reference for administration and batch automation.
30 items across 4 sections
COMPLETE COURSE
CMD Commands β Learning Path
Start with the concept, study each lesson, copy and adapt the example, complete the practice task, then use the troubleshooting and safety notes before moving forward.
Module 01 β Files
What you learn: dir, cd, md, copy, move, del, ren, type, tree.
Module 02 β System
What you learn: systeminfo, tasklist, taskkill, whoami, hostname, set.
Module 03 β Network
What you learn: ipconfig, ping, tracert, nslookup, netstat, arp, route.
Module 04 β Batch
What you learn: echo, variables, if, for, findstr, redirection, pipes, batch files.
SECTION
Files
dir, cd, md, copy, move, del, ren, type, tree
dir
Windows command dir: run it from Command Prompt with the required permissions. Test read-only commands first and use dir /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study dir in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
dircd
Linux command cd: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check cd --help for supported options. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study cd in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
cd ~/Documentsmd
md: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study md in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
mdcopy
Windows command copy: run it from Command Prompt with the required permissions. Test read-only commands first and use copy /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study copy in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
copymove
Windows command move: run it from Command Prompt with the required permissions. Test read-only commands first and use move /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study move in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
movedel
Windows command del: run it from Command Prompt with the required permissions. Test read-only commands first and use del /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study del in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
delren
ren: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study ren in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
rentype
Windows command type: run it from Command Prompt with the required permissions. Test read-only commands first and use type /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study type in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
typetree
tree: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study tree in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
treeSECTION
System
systeminfo, tasklist, taskkill, whoami, hostname, set
systeminfo
Windows command systeminfo: run it from Command Prompt with the required permissions. Test read-only commands first and use systeminfo /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study systeminfo in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
systeminfotasklist
Windows command tasklist: run it from Command Prompt with the required permissions. Test read-only commands first and use tasklist /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study tasklist in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
tasklisttaskkill
Windows command taskkill: run it from Command Prompt with the required permissions. Test read-only commands first and use taskkill /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study taskkill in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
taskkillwhoami
whoami: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study whoami in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
whoamihostname
hostname: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study hostname in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
hostnameset
set: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study set in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
setSECTION
Network
ipconfig, ping, tracert, nslookup, netstat, arp, route
ipconfig
Windows command ipconfig: run it from Command Prompt with the required permissions. Test read-only commands first and use ipconfig /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study ipconfig in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
ipconfigping
Linux command ping: a practical CLI building block. Use it in a terminal, review the output before changing files or services, and check ping --help for supported options. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study ping in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
ping -c 4 example.comtracert
Windows command tracert: run it from Command Prompt with the required permissions. Test read-only commands first and use tracert /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study tracert in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
tracertnslookup
nslookup: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study nslookup in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
nslookupnetstat
Windows command netstat: run it from Command Prompt with the required permissions. Test read-only commands first and use netstat /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study netstat in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
netstatarp
arp: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study arp in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
arproute
route: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study route in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
routeSECTION
Batch
echo, variables, if, for, findstr, redirection, pipes, batch files
echo
echo: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study echo in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
echovariables
variables: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study variables in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
variablesif
if: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study if in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
iffor
for: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study for in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
forfindstr
Windows command findstr: run it from Command Prompt with the required permissions. Test read-only commands first and use findstr /? when available for syntax. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study findstr in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
findstrredirection
redirection: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study redirection in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
redirectionpipes
pipes: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study pipes in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
pipesbatch files
batch files: a practical computer skill. Learn the purpose, core concept, syntax or workflow, real-world use cases, prerequisites, common mistakes, troubleshooting path, security implications, and related advanced concepts. Start with a safe read-only example, verify the result, then move to automation or administration only when you understand the side effects. CMD Commands: understand Command Prompt syntax, switches, quoting, environment variables, pipes, redirection, batch files and exit codes. Test commands safely before administrative changes. Study batch files in four passes: (1) purpose and vocabulary, (2) mechanism or syntax, (3) a safe practical example, and (4) verification plus troubleshooting. For every exercise, record the starting state, action, expected result, actual result and recovery step. This turns memorization into a repeatable professional workflow.
batch files