Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Redmond desk5 min

18 Useful Windows Command Prompt Tricks for Everyday Tasks

Use these 18 built-in Command Prompt techniques to inspect network settings, check Windows files, and copy folders with Robocopy.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows Command Prompt can quickly show network settings, list running programs, check system files, and copy folders. These 18 practical commands work in Windows 10 and Windows 11 according to Microsoft’s command references. Open Command Prompt, type a command, and press Enter; use an elevated window when a step requires administrator privileges. Windows also includes PowerShell, which Microsoft describes as intended for more advanced capabilities.

For syntax you do not know, start with help or help <command>. The examples below use built-in Windows commands and explain when an option reports information versus changing it.

As an Amazon Associate I earn from qualifying purchases.

What are some useful Command Prompt tricks in Windows?

Command Prompt is the Windows command shell: a place to run text commands and, when useful, combine them in batch files for routine automation. These examples focus on everyday inspection, troubleshooting, and file copying. Microsoft’s Windows Commands reference documents commands for networking, system information, disk checks, copying, and repair.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. List available commands with help

Run help to display the commands available in the shell. It is a useful starting point when you know you need a built-in command but not its name.

#1 Best Overall
Sale
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
  • All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
  • Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
  • Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
  • Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
  • Plastic parts in K120 include 51% certified post-consumer recycled plastic*

2. Look up a specific command

Run help robocopy to request help for Robocopy. Replace robocopy with another command to look up its available syntax. The Microsoft help reference documents both forms.

How do I find my IP address in Command Prompt?

3. Show basic network settings with ipconfig

Run ipconfig to display current TCP/IP configuration. The output includes adapter addresses and, where configured, the subnet mask and default gateway. If several adapters appear, look for the one you are using—such as Wi-Fi or Ethernet. See Microsoft’s ipconfig reference.

4. Display full adapter details with ipconfig /all

Add /all for fuller configuration details, including information that can help identify the relevant adapter and its network settings. The output can contain identifying details, so review it before sharing a screenshot or copied text publicly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Amazon Basics Wired QWERTY Keyboard, Works with Windows, Plug and Play, Easy to Use with Media Control, Full-Sized, Black
  • KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
  • EASY SETUP: Experience simple installation with the USB wired connection
  • VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
  • SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
  • FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.

5. Clear the DNS resolver cache

Run ipconfig /flushdns when troubleshooting a DNS-resolution problem. It clears the local DNS resolver cache; it is not a general internet-speed improvement.

6. Renew a DHCP-assigned address

Run ipconfig /renew when the connection obtains its network configuration through DHCP and you want Windows to request a renewed configuration. It is not a fix for every connection problem, and it may not apply to a manually configured address. The Microsoft ipconfig documentation lists the cache and DHCP options.

How do I see what programs are running?

7. List running processes with tasklist

Run tasklist to see running processes and their process IDs. A process is not necessarily a user-facing app: Windows services and background components can also appear.

Rank #3
Sale
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
  • Durable and Reliable: This USB keyboard features a curved space bar, spill-resistant design (2), durable keys that can withstand 10 million keystrokes, and sturdy, adjustable tilt legs
  • Comfortable, Familiar Typing: You’ll enjoy a comfortable and familiar typing experience thanks to the deep-profile keys and standard layout with full-size F-keys and number pad
  • Full-size Sculpted Mouse: The high-definition optical USB mouse puts comfort and control in your hands with smooth, accurate tracking and an ambidextrous shape that feels good hour after hour
  • Simple Set-Up: Simply plug the keyboard and mouse into the USB ports on your desktop, laptop, or netbook and you're ready to work; compatible with Windows 7, 8, 10 or later
  • Clear and Convenient: The bold, bright white and long-lasting characters make the keys on this PC or laptop keyboard easy to read and extra durable

8. Filter the process list

For example, run tasklist /fi "STATUS eq running" to filter the listing to processes whose status is running. Filters can make a long result easier to inspect; the Microsoft tasklist reference documents the supported filter syntax.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

9. Output the process list as CSV

Run tasklist /fo csv to format the output as comma-separated values, which is easier to import into a spreadsheet or another tool than fixed-width text. The command can also query remote computers, but this guide avoids credential examples that could expose passwords.

How can I inspect Windows and computer details?

10. Print a system summary with systeminfo

Run systeminfo to report Windows, security, and hardware configuration. It can help when checking what system you are working on or collecting details for troubleshooting. Treat the output as potentially sensitive: review it before posting it publicly.

Rank #4
Sale
Arteck 2.4G USB Wireless Keyboard Full Size Keyboard for Computer/PC/Laptop
  • Easy Setup: Simply insert the nano USB receiver into your computer and use the keyboard instantly. Arteck 2.4G Wireless Keyboard Stainless Steel Ultra Slim Full Size Keyboard with Numeric Keypad for Computer/Desktop/PC/Laptop/Surface/Smart TV and Windows 10/8/ 7 Built in Rechargeable Battery
  • Ergonomic design: Stainless steel material gives heavy duty feeling, low-profile keys offer quiet and comfortable typing.
  • 6-Month Battery Life: Rechargeable lithium battery with an industry-high capacity lasts for 6 months with single charge (based on 2 hours non-stop use per day).
  • Ultra Thin and Light: Compact size (16.9 X 4.9 X 0.6in) and light weight (14.9oz) but provides full size keys, arrow keys, number pad, shortcuts for comfortable typing.
  • Package contents: Arteck Stainless 2.4G Wireless Keyboard, nano USB receiver, USB charging cable, welcome guide, our 24-month warranty and friendly customer service.

11. Choose a list or CSV format

Use systeminfo /fo LIST for a list-style layout or systeminfo /fo CSV for comma-separated output. The available formats and reported fields are described in Microsoft’s systeminfo reference.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How do I check Windows system files?

12. Verify protected files without attempting repair

In a Command Prompt opened with administrator privileges, run sfc /verifyonly. System File Checker verifies protected system files but does not attempt repairs with this option.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

13. Scan and attempt repair with sfc /scannow

Run sfc /scannow from an elevated Command Prompt to scan protected system files and attempt to replace incorrect versions when possible. Membership in the local Administrators group is required. The scan may take time; let it finish and read the result it reports. Microsoft documents the options in its SFC reference.

Best Value
Sale
Logitech MK270 Full Size Wireless Keyboard and Mouse Combo - Black
  • Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
  • Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
  • Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
  • Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
  • Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites

How do I check a drive from Command Prompt?

14. Check a volume’s file-system status

Run chkdsk C: to check the C: volume. Substitute the intended drive letter. Without repair switches, CHKDSK reports file-system status rather than fixing errors.

15. Repair file-system errors with /f

Run chkdsk C: /f only when you intend to have CHKDSK fix file-system errors on that volume. Use administrator-level access, ensure the drive letter is correct, and avoid casually interrupting the operation. Depending on the volume’s availability, Windows may need to schedule the check for a later restart. CHKDSK checks file-system structures and metadata; it is not a general diagnosis of a drive’s physical health. See Microsoft’s CHKDSK reference.

How do I copy folders from Command Prompt?

16. Copy a folder tree with Robocopy

Robocopy copies file data between a source and a destination. A basic pattern is robocopy "C:Records" "D:Backup"; replace those example paths with the actual source and destination. Quotation marks are important for paths containing spaces. Check both paths before running the command, especially when copying to a drive with existing files.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

17. Make a transfer restartable and log it

Add /z to make copying restartable if a transfer is interrupted, and /log:"C:copy-log.txt" to write command output to a log file. For example: robocopy "C:Records" "D:Backup" /z /log:"C:copy-log.txt". Choose a log path you can write to and later find. Restartable copying and a log can help manage a transfer, but they do not by themselves make a verified backup.

18. Use multiple threads when appropriate

Add /mt to use multithreaded copying, for example robocopy "C:Records" "D:Backup" /mt. Multithreading can be useful for suitable workloads, but it is not necessary for every transfer; test the command on noncritical files if you are unsure about the paths or options.

Be especially careful with mirror or purge-style options: they can remove files from the destination to make it match the source. Do not add them casually. Review Microsoft’s Robocopy examples and syntax before using options that affect destination contents.

Quick Recap

SaleBestseller No. 1
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black
Plastic parts in K120 include 51% certified post-consumer recycled plastic*; Product carbon footprint: 4.02 kg CO2e
$12.39
SaleBestseller No. 2
SaleBestseller No. 3
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
Product carbon footprint: 5.03 kg CO2e
$17.77

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.