Command Blog
In-depth tutorials and guides for Windows commands. Learn syntax, examples, and best practices—one command at a time.
- Advanced System Toolsbitsadmin
Bitsadmin Command Guide - Background File Transfer on Windows
Learn the bitsadmin command for scripted Background Intelligent Transfer Service jobs, including create, addfile, resume, monitor, and troubleshooting examples.
- Advanced System Toolsmanage-bde
Manage-bde Command Guide - BitLocker Drive Encryption Control
Learn manage-bde command usage for BitLocker status, protectors, unlock workflows, recovery, and enterprise troubleshooting with practical Windows examples.
- Advanced System Toolspowercfg
Powercfg Command Guide - Manage Windows Power Plans
Learn how to use the powercfg command in Windows to manage power plans, sleep, battery reports, and hibernation with practical examples and troubleshooting.
- Advanced System Toolswevtutil
Wevtutil Command Guide - Query and Manage Windows Event Logs
Master the wevtutil command to query, export, clear, and archive Windows Event Logs from CMD with practical examples, troubleshooting, and admin workflows.
- System Informationdoskey
DOSKEY Command Guide - Command History and Macros in Windows CMD
Learn how to use the DOSKEY command for command recall, history, and macro creation in Windows Command Prompt. Includes syntax, /history, /macros, and productivity examples.
- File Managementexpand
EXPAND Command Guide - Extract Files from Cabinet Files in Windows
Learn how to use the EXPAND command to extract files from Windows cabinet (.cab) files. Includes syntax, -r rename, -F filter, driver extraction, and installation examples.
- File Managementreplace
REPLACE Command Guide - Update Files in Windows CMD
Learn how to use the REPLACE command to update files in a directory with newer versions from another location. Includes syntax, /A add mode, /S recursive, and deployment examples.
- System Informationverify
VERIFY Command Guide - File Write Verification in Windows CMD
Learn how to use the VERIFY command to enable or disable write verification in Windows Command Prompt. Ensures copied files are written correctly to disk.
- Advanced System Toolsgpresult
GPRESULT Command Guide - Display Group Policy Results in Windows
Learn how to use the gpresult command to view Resultant Set of Policy (RSOP) in Windows. Includes /r, /v, /h syntax, troubleshooting, and enterprise examples.
- Advanced System Toolsgpupdate
GPUPDATE Command Guide - Refresh Group Policy in Windows
Learn how to use the gpupdate command to refresh Group Policy settings in Windows. Includes syntax, /force, /target options, troubleshooting, and enterprise examples.
- Networkingnet share
NET SHARE Command Guide - Manage Shared Resources in Windows
Learn how to use the net share command to display, create, and delete shared folders in Windows. Includes syntax, permissions, troubleshooting, and enterprise examples.
- Networkingnet view
NET VIEW Command Guide - Display Network Resources in Windows
Learn how to use the net view command to list shared resources, domains, and computers in Windows. Includes syntax, troubleshooting, and enterprise examples.
- System Informationchoice
CHOICE Command Guide - User Selection in Windows Batch Scripts
Learn how to use the CHOICE command to prompt users to select from options in Windows batch scripts. Includes syntax, examples, and ERRORLEVEL handling.
- System Informationdriverquery
DRIVERQUERY Command Guide - List Installed Device Drivers in Windows
Learn how to use the driverquery command to display installed device drivers, their properties, and status in Windows CMD. Includes syntax, examples, and troubleshooting.
- File Managementforfiles
FORFILES Command Guide - Select Files and Run Commands in Windows
Learn how to use the forfiles command to select files by criteria and run commands on each in Windows CMD. Includes syntax, examples, and batch scripting use cases.
- System Informationprompt
PROMPT Command Guide - Customize Command Prompt in Windows
Learn how to use the PROMPT command to change the Command Prompt display in Windows CMD. Includes syntax, character codes, examples, and customization tips.
- Networkingarp
ARP Command Guide - Display and Modify ARP Cache in Windows
Learn how to use the arp command to display, add, or delete ARP cache entries in Windows. Resolve IP-to-MAC mapping for network troubleshooting and diagnostics.
- System Informationclip
CLIP Command Guide - Redirect Output to Windows Clipboard
Learn how to use the clip command to copy command output to the Windows clipboard. Includes syntax, piping examples with dir and type, and practical use cases for sharing output.
- System Informationcolor
COLOR Command – Change Console Foreground and Background Colors in Windows
Learn how to use the COLOR command to customize Command Prompt colors in Windows CMD. Set foreground and background with hex codes for better readability and script branding.
- File Systemmklink
MKLINK Command Guide - Create Symbolic Links and Junctions in Windows
Learn how to use the mklink command to create symbolic links, hard links, and directory junctions in Windows. Includes syntax, examples, and best practices for file system linking.
- Networkingnbtstat
Nbtstat Command Guide - NetBIOS over TCP/IP Statistics in Windows
Learn how to use nbtstat to display NetBIOS names, cache, and resolution statistics. Troubleshoot Windows naming, WINS, and legacy NetBIOS connectivity.
- Networkingpathping
Pathping Command Guide - Trace Route with Packet Loss Statistics in Windows
Learn how to use pathping to trace network routes and compute packet loss statistics. Combines ping and tracert for advanced network diagnostics and latency analysis.
- File Managementpopd
POPD Command – Restore Directory from PUSHD Stack in Windows
Learn how to use the POPD command to return to the directory saved by PUSHD in Windows CMD. Essential for batch scripts and navigation workflows.
- File Managementpushd
PUSHD Command – Save and Change Directory with Directory Stack in Windows
Learn how to use the PUSHD command to save your current directory and navigate to a new path in Windows CMD. Essential for batch scripts and complex navigation workflows.
- Networkingroute
ROUTE Command Guide - Display and Modify IP Routing Table in Windows
Learn how to use the route command to view and modify the IP routing table in Windows. Add, delete, and manage routes for advanced network configuration and troubleshooting.
- System Informationset
SET Command Guide - Display and Set Environment Variables in Windows
Learn how to use the set command to display, set, and manage environment variables in Windows Command Prompt. Includes syntax, PATH manipulation, and batch script examples.
- System Informationtitle
TITLE Command – Set Command Prompt Window Title in Windows
Learn how to use the TITLE command to set the console window title in Windows CMD. Customize window titles for scripts, sessions, and better taskbar identification.
- File Managementwhere
WHERE Command Guide - Find File Locations in Windows PATH
Learn how to use the where command to locate executables and files in Windows. Includes syntax, PATH search, recursive search with /R, and practical examples for troubleshooting.
- System Informationcls
CLS Command – Clear the Command Prompt Screen in Windows
Learn how to use the CLS command to clear the Command Prompt window in Windows. Simple syntax, when to use it, and how it differs from closing or scrolling.
- System Informationexit
EXIT Command – Exit Command Prompt or Batch Script in Windows
Learn how to use the EXIT command to close the Command Prompt window or exit a batch script in Windows. Syntax, /B option, exit codes, and when to use EXIT vs closing the window.
- System Informationpath
PATH Command – Display or Set the PATH Environment Variable in Windows
Learn how to use the PATH command to view or change the search path for executables in Windows Command Prompt. Syntax, examples, and best practices for PATH management.
- System Informationshutdown
SHUTDOWN Command Guide - Shut Down, Restart, or Log Off Windows
Learn how to use the SHUTDOWN command to shut down, restart, or log off Windows from the command line. Includes /s, /r, /l, /t, /a options, remote shutdown, and scripting examples.
- File Managementsort
SORT Command Guide - Sort Lines in Files with Windows CMD
Learn how to use the SORT command to alphabetically or numerically sort lines in text files. Includes syntax, /r and /n options, examples, and batch scripting use cases.
- System Informationtimeout
TIMEOUT Command Guide - Pause and Add Delays in Windows CMD
Learn how to use the TIMEOUT command to pause batch scripts and add delays in Windows. Includes /t seconds, /nobreak option, examples, and scripting best practices.
- File Managementtree
TREE Command – Display Directory Structure in Windows
Learn how to use the TREE command to display folder and file hierarchy in Windows Command Prompt. Syntax, /F and /A options, examples, and when to use TREE vs DIR.
- File Managementvol
VOL Command Guide - Display Drive Volume Label and Serial Number in Windows
Learn how to use the VOL command to display volume labels and serial numbers for Windows drives. Includes syntax, examples, scripting use cases, and troubleshooting tips.
- Process Managementat
AT Command – Schedule Tasks in Windows Command Prompt
Learn how to use the AT command to schedule programs and batch files to run at specified times in Windows CMD. Guide covers syntax, /every, /next, and migration to SCHTASKS.
- Advanced System Toolsbcdedit
BCDEDIT Command – Edit Boot Configuration in Windows
Learn how to use the BCDEDIT command to view and modify Windows boot configuration data (BCD). Guide covers syntax, /set, /copy, boot options, safe mode, and recovery troubleshooting.
- File Managementchdir
CHDIR Command – Change Directory in Windows Command Prompt
Master the CHDIR command to navigate directories in Windows CMD. Complete guide with syntax, examples, and tips. CHDIR is identical to CD—both change the current working directory.
- System Informationconfig
CONFIG Command – View System Configuration in Windows
Learn how to view system configuration in Windows CMD. CONFIG displays OS, hardware, and device info. Guide covers syntax, MSConfig, SYSTEMINFO, and configuration troubleshooting.
- File Managementmd
MD Command – Create Directories in Windows Command Prompt
Learn how to use the MD command to create new directories in Windows CMD. MD is identical to MKDIR—both create folders. Complete guide with syntax, examples, and best practices.
- User Managementnet localgroup
NET LOCALGROUP Command – Manage Local Groups in Windows CMD
Learn how to use the NET LOCALGROUP command to add users to groups, create groups, and manage local group membership in Windows CMD. Guide covers Administrators, /add, /delete, and permission management.
- User Managementnet user
NET USER Command – Manage User Accounts in Windows CMD
Learn how to use the NET USER command to create, modify, and delete local user accounts in Windows CMD. Guide covers syntax, /add, /delete, password options, and user management best practices.
- File Managementrd
RD Command – Remove Directories in Windows Command Prompt
Master the RD command to delete empty directories in Windows CMD. RD is identical to RMDIR. Complete guide with syntax, /S /Q parameters, examples, and tips for safe folder deletion.
- Advanced System Toolsreg
REG Command – Registry Console Tool in Windows CMD
Learn how to use the REG command to query, add, delete, and manage Windows Registry from the command line. Guide covers REG QUERY, REG ADD, REG DELETE, syntax, and examples.
- User Managementrunas
RUNAS Command – Run Programs as Different User in Windows
Learn how to use the RUNAS command to execute programs under a different user account in Windows CMD. Guide covers syntax, /user, elevation, and security best practices.
- Process Managementschtasks
SCHTASKS Command – Schedule Tasks in Windows CMD
Learn how to use the SCHTASKS command to create, manage, and query scheduled tasks in Windows CMD. Guide covers /create, /query, /run, syntax, and automation examples.
- System Informationwhoami
WHOAMI Command – Display Current User and Security Info in Windows
Learn how to use the WHOAMI command to display the current user name, group memberships, and privileges in Windows CMD. Guide covers syntax, /groups, /priv, and security troubleshooting.
- Disk Managementlabel
LABEL Command Guide - Change Drive Volume Labels in Windows
Learn how to use the label command to create, change, or delete drive volume labels on Windows. Includes syntax, examples for hard drives and removable media, best practices, and practical use cases.
- File Managementmore
MORE Command Guide - Display Output One Screen at a Time in Windows
Learn how to use the more command to page through text output one screen at a time on Windows. Includes syntax, options for extended features, piping with other commands, and practical examples.
- Disk Managementsubst
SUBST Command Guide - Create Virtual Drive Letters for Folders in Windows
Learn how to use the subst command to map folders to drive letters in Windows. Includes syntax, creating and removing virtual drives, batch scripts, registry persistence, and practical examples.
- File Managementxcopy
XCOPY Command Guide - Advanced File and Directory Copying in Windows
Learn how to use the xcopy command for powerful file and directory copying on Windows. Includes syntax, recursive copying, attributes, verification, exclusions, and practical backup examples.
- File Managementfind
FIND Command Guide - Search for Text Strings in Files on Windows
Learn how to use the find command to search for specific text strings in files using Windows Command Prompt. Includes syntax, options, case-sensitive searches, line numbers, and practical examples.
- File Managementfindstr
FINDSTR Command Guide - Advanced Text Search with Regular Expressions
Learn how to use the findstr command for powerful text searching with regular expressions, wildcards, and recursive directory searches in Windows Command Prompt. Includes syntax, regex patterns, and practical examples.
- File Systemfsutil
FSUTIL Command Guide - Advanced File System Utilities for Windows
Learn how to use the fsutil command for advanced file system management including NTFS operations, disk quotas, sparse files, USN journal, and volume information. Includes syntax, practical examples, and system administration tasks.
- File Systemftype
FTYPE Command Guide - Manage File Type Associations in Windows
Learn how to use the ftype command to view and modify file type associations that link file extensions to executable programs in Windows Command Prompt. Includes syntax, examples, and troubleshooting tips.
- File Systemcompact
COMPACT Command Guide - Display and Manage File Compression in Windows
Learn how to use the compact command to display, enable, or disable NTFS file and directory compression in Windows Command Prompt. Includes syntax, examples, and compression best practices.
- Disk Managementconvert
CONVERT Command Guide - Convert FAT/FAT32 Volumes to NTFS in Windows
Learn how to use the convert command to convert FAT or FAT32 volumes to NTFS file system in Windows. Includes syntax, examples, prerequisites, and conversion best practices.
- Disk Managementdefrag
DEFRAG Command Guide - Optimize and Defragment Disk Volumes in Windows
Learn how to use the defrag command to analyze, defragment, and optimize disk drives in Windows Command Prompt. Includes syntax, examples, optimization strategies, and performance best practices.
- File Managementfc
FC Command Guide - Compare Files and Display Differences in Windows
Learn how to use the fc command to compare two files or sets of files and display differences in Windows Command Prompt. Includes syntax, binary/ASCII comparison, examples, and troubleshooting.
- Disk Managementchkdsk
CHKDSK Command Guide - Check and Repair Disk Errors in Windows
Master the chkdsk command to scan and fix disk errors, bad sectors, and file system corruption. Includes syntax, practical examples, repair options, and troubleshooting tips.
- Disk Managementdiskpart
Diskpart Command: Disk Partition Management Tool | Windows Guide
Learn how to use diskpart to manage disks, partitions, and volumes in Windows. Complete guide with examples, disk cleaning, formatting, and troubleshooting.
- Advanced System Toolsdism
DISM Command: Repair Windows Image & Component Store | Guide
Learn how to use DISM to repair corrupted Windows images and fix component store issues. Complete guide with RestoreHealth examples and troubleshooting.
- User Managementicacls
ICACLS Command Guide - Manage NTFS Permissions and Access Control Lists
Master the icacls command for managing NTFS file and folder permissions in Windows. Includes syntax, permission types, practical examples, troubleshooting tips, and enterprise ACL management.
- Networkingnetsh
Netsh Command: Network Shell Configuration Tool | Windows Guide
Learn how to use netsh to configure network settings, view WiFi networks, manage firewall rules, and troubleshoot network issues in Windows.
- Advanced System Toolspowershell
PowerShell Command: Launch Windows PowerShell | CMD Guide
Learn how to start Windows PowerShell from Command Prompt. Complete guide with syntax, examples, use cases, and tips for IT professionals.
- File Managementrobocopy
Robocopy Command: Robust File Copy Tool | Windows Guide
Learn how to use robocopy for advanced file copying, directory mirroring, network transfers, and backup automation in Windows. Complete guide with examples.
- System Informationsfc
SFC Command: System File Checker Repair Tool | Windows Guide
Learn how to use SFC /scannow to scan and repair corrupted Windows system files. Complete guide with examples, troubleshooting, and best practices.
- User Managementtakeown
TAKEOWN Command Guide - Take Ownership of Files and Folders in Windows
Master the takeown command to take ownership of files and folders when access is denied. Includes syntax, practical examples, troubleshooting tips, and permission management workflows.
- Process Managementwmic
WMIC Command Guide - Windows Management Instrumentation for System Administration
Master the wmic command for querying and managing Windows systems via WMI. Includes syntax, practical examples, troubleshooting tips, and automation scripts for IT professionals.
- File Managementattrib
ATTRIB Command Guide - Display and Change File Attributes in Windows
Learn how to use the attrib command to display, set, or remove file attributes (read-only, hidden, archive, system) in Windows Command Prompt. Includes syntax, examples, and best practices.
- System Informationdate
DATE Command: Display and Set System Date in Windows CMD | Guide
Master the DATE command to view and modify Windows system date. Complete guide with examples, batch scripting tips, and date manipulation techniques.
- Help and Documentationhelp
HELP Command: Get Windows CMD Command Documentation | Complete Guide
Master the HELP command in Windows Command Prompt. Learn syntax, examples, and how to access detailed documentation for any CMD command instantly.
- System Informationhostname
HOSTNAME Command: Display Computer Name in Windows CMD | Quick Guide
Master the HOSTNAME command to instantly display your Windows computer name. Complete guide with examples, scripting tips, and network identification techniques.
- System Informationsysteminfo
SYSTEMINFO Command: Display Windows System Information | Complete Guide
Master the SYSTEMINFO command to view detailed Windows system configuration, hardware specs, and network info. Complete guide with examples and troubleshooting.
- System Informationtime
TIME Command: Display and Set System Time in Windows CMD | Guide
Master the TIME command to view and modify Windows system time. Complete guide with examples, batch scripting tips, and time management techniques.
- File Managementtype
TYPE Command – Display File Contents in Windows Command Prompt
Learn how to use the TYPE command to view text file contents in Windows CMD. Complete guide with syntax, examples, and tips for displaying file content.
- System Informationver
VER Command: Display Windows Version Number | Quick Reference Guide
Learn the VER command to instantly display Windows version numbers in CMD. Complete guide with examples, batch scripting tips, and version checking techniques.
- File Managementcomp
COMP Command Guide - Compare Two Files Byte by Byte in Windows
Learn how to use the comp command to compare the contents of two files or sets of files byte by byte in Windows Command Prompt. Includes syntax, examples, troubleshooting, and best practices.
- File Managementcipher
CIPHER Command Guide - Display and Alter File Encryption in Windows
Learn how to use the cipher command to display, encrypt, or decrypt files and directories on NTFS volumes in Windows. Includes syntax, examples, troubleshooting, and best practices for EFS encryption.
- System Informationassoc
ASSOC Command Guide - Display and Modify File Extension Associations in Windows
Learn how to use the assoc command to display, set, or modify file extension associations in Windows Command Prompt. Includes syntax, examples, troubleshooting, and best practices.
- File Managementmove
MOVE Command – Move and Rename Files in Windows Command Prompt
Learn how to use the MOVE command to relocate files and directories or rename them in Windows CMD. Complete guide with syntax, examples, and best practices.
- File Managementdir
DIR Command – List Files and Directories in Windows
Learn how to use the DIR command to display files and subdirectories in Windows Command Prompt. Complete guide with syntax, parameters, examples, and best practices.
- Process Managementsc
SC Command – Manage Windows Services from Command Line
Learn how to use the SC command to query, start, stop, configure, and manage Windows services from CMD. Complete guide with syntax, examples, and troubleshooting tips.
- Networkinggetmac
Getmac Command: Display MAC Addresses for Network Adapters | Guide
Learn how to use getmac to display physical (MAC) addresses for all network adapters, identify network interfaces, and troubleshoot network hardware.
- Networkingnslookup
Nslookup Command: Query DNS Records and Troubleshoot Name Resolution
Master nslookup to query DNS servers, lookup IP addresses from hostnames, troubleshoot DNS issues, and verify DNS record types (A, MX, NS, TXT).
- Process Managementstart
START Command – Launch Programs and Files in Windows CMD
Learn how to use the START command to launch applications, open files, run commands in new windows, and control process priority in Windows. Complete guide with syntax, examples, and tips.
- Networkingtracert
Tracert Command: Trace Network Route and Diagnose Path Issues | Guide
Learn how to use tracert to trace network routes, identify where packets fail, measure hop-by-hop latency, and diagnose routing problems in Windows.
- Networkingnetstat
Netstat Command: Display Network Connections and Statistics | Guide
Master netstat to view active connections, listening ports, routing tables, and network statistics. Essential for network diagnostics and security monitoring.
- Process Managementtaskkill
TASKKILL Command – Terminate Processes in Windows CMD
Learn how to use the TASKKILL command to terminate processes by PID or name, force kill unresponsive applications, and manage processes remotely in Windows. Complete guide with syntax, examples, and tips.
- File Managementdel
DEL Command – Delete Files in Windows Command Prompt
Master the DEL command to delete files in Windows CMD. Complete guide with syntax, parameters, wildcards, examples, and best practices for safe file deletion.
- Networkingping
Ping Command: Test Network Connectivity and Diagnose Issues | Guide
Learn how to use ping to test network connectivity, measure latency, diagnose packet loss, and troubleshoot network issues on Windows.
- Networkingipconfig
Ipconfig Command: View and Manage IP Network Configuration | Guide
Master ipconfig to view IP addresses, release/renew DHCP leases, flush DNS cache, and troubleshoot network connectivity issues in Windows.
- Process Managementtasklist
TASKLIST Command – Display Running Processes in Windows
Learn how to use the TASKLIST command to view all running processes, filter by criteria, format output, and monitor system performance in Windows CMD. Complete guide with syntax, examples, and tips.
- File Managementcopy
COPY Command – Duplicate Files in Windows Command Prompt
Master the COPY command to duplicate files and combine text files in Windows CMD. Complete guide with syntax, parameters, examples, and best practices.
- File Managementcd
CD Command – Change Directory in Windows Command Prompt
Master the CD command to navigate directories in Windows CMD. Complete guide with syntax, examples, and tips for changing directories efficiently in Command Prompt.
- File Managementecho
ECHO Command – Display Messages and Control Command Echoing
Learn how to use the ECHO command to display text, create files, and control command echoing in Windows CMD. Complete guide with syntax, examples, and tips.
- File Managementmkdir
MKDIR Command – Create Directories in Windows Command Prompt
Learn how to use the MKDIR command to create new directories and nested folder structures in Windows CMD. Complete guide with syntax, examples, and best practices.
- File Managementren
REN Command – Rename Files and Directories in Windows CMD
Master the REN command to rename files and folders in Windows Command Prompt. Complete guide with syntax, wildcards, examples, and best practices for renaming.
- File Managementrmdir
RMDIR Command – Remove Directories in Windows Command Prompt
Master the RMDIR command to delete empty directories in Windows CMD. Complete guide with syntax, parameters, examples, and tips for removing folders safely.