OpenToolLab

Developer Tools

CMD Commands

Change directories, switch drives, find your Windows product key, and get the serial number — with browser device detection and ready-to-run .bat files.

100% in-browser No signup Free forever

Your device (from browser)

Operating system

Detecting…

Browser

Detecting…

CPU cores

Detecting…

Memory

Detecting…

Language

Detecting…

Online status

Detecting…

Only information your browser already exposes is read — nothing is sent anywhere. Windows product keys and serial numbers can't be read from a browser (browser security), so use the .bat downloads below.

CMD emulator — try commands live

Command Prompt — cmd.exe

The emulator runs in your browser and answers from your real device data where the browser allows it (OS, RAM, cores, network status). Type help for commands, or exit to close.

Describe it in plain English — get a CMD command

Examples: "change directory", "list files", "make a folder called src", "show my ip", "find product key", "clear the screen", "check python version", "show system info".

Ready-to-run .bat files (Windows)

Double-click a downloaded .bat file to run the real command on your PC. It only reads system information and never sends anything anywhere.

What makes this tool different

Browser device detection

Reads your OS, browser, CPU cores, and RAM directly from the browser in one click — completely private.

Ready-to-run .bat downloads

One click downloads a working .bat file that finds your Windows product key, serial number, or system info. No copying commands by hand.

Runs the real commands

Every .bat uses standard Windows commands (wmic, powershell, ipconfig, systeminfo) so it works on Windows 10 and 11.

Command reference built in

Quick answers for change directory, change drive, open CMD as admin, check Python/Java version, and clear the screen.

Safe and private

The .bat files only read system information and never send anything anywhere. Everything runs locally on your machine.

No admin required to start

Most .bat files run as a normal user. The admin CMD file asks for permission only when it launches an elevated prompt.

About this tool

CMD Commands: everything you need to know

Windows CMD (Command Prompt) is one of the most useful tools built into Windows, yet most people only ever open it when they're stuck with a broken command. This free CMD commands tool combines a browser-based device check with ready-to-run .bat files and a plain-English command reference, so you can change directories, find your Windows product key, read your serial number, and more — without memorizing syntax.

The most common thing people look up is how to change directory in cmd. The command is `cd` (change directory). Type `cd C:\Users\YourName\Documents` to move into a folder on the same drive, `cd\` to jump to the drive root, and `cd ..` to go up one folder. To change to a folder on a different drive, remember the `cd /d` flag: `cd /d D:\Projects` changes both the drive and the folder in a single command. If you only need to switch drives without navigating, type the drive letter followed by a colon — for example `D:`.

Another frequent search is how to find the Windows 11 product key using cmd. The command `wmic path softwarelicensingservice get OA3xOriginalProductKey` reads the OEM product key that Windows stores in the firmware at the factory. It also works on Windows 10. If it returns nothing, your PC likely uses a digital license linked to a Microsoft account rather than a product key. The same applies to reading your serial number: `wmic bios get serialnumber` prints the BIOS serial number that manufacturers assign to the machine, which is what support teams ask for.

Opening an elevated prompt is the gateway to admin commands. Press the Windows key, type cmd, and choose "Run as administrator", or press Ctrl+Shift+Enter on the highlighted result. The ready-to-run .bat file on this page does exactly that — it launches an elevated Command Prompt with a single click after the UAC prompt. Admin rights are required for commands like installing drivers, modifying system files, or running diskpart.

Beyond navigation, CMD answers everyday questions in seconds: `cls` clears the screen, `ipconfig /all` shows your full network configuration, `python --version` and `java -version` confirm your installed runtimes, and `systeminfo` dumps everything about your OS and hardware in one place. The command reference on this page covers all of these with copy-friendly examples.

Everything on this page runs locally. The device info is read straight from your browser's built-in APIs — nothing is uploaded, and there's no server involved. The .bat files you download only run standard Windows commands on your own machine and never send data anywhere. That keeps it private, free, and works offline. No signup, no uploads, no tracking.

FAQ

CMD Commands — frequently asked questions

How to change directory in cmd?

Type `cd` followed by the folder path, for example `cd C:\Users\YourName\Documents`. To jump to a folder on another drive, use `cd /d D:\Projects`. `cd ..` moves up one level, and `cd\` jumps straight to the root of the current drive.

How to change drives in cmd?

Just type the drive letter followed by a colon, for example `D:` and press Enter. If you also need to move into a folder at the same time, use `cd /d D:\Projects` which changes both the drive and the folder.

How to find Windows 11 product key using cmd?

Open Command Prompt and run `wmic path softwarelicensingservice get OA3xOriginalProductKey`. On many Windows 11 systems the key is stored in the BIOS firmware, so this command prints it directly. If it returns nothing, the PC may use a digital license tied to your Microsoft account instead.

How to find Windows 10 product key using cmd?

Run `wmic path softwarelicensingservice get OA3xOriginalProductKey` in Command Prompt. This reads the OEM product key embedded in the firmware. For a cleaner one-line result you can also run the PowerShell command: `(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey`.

How to get serial number from cmd?

Run `wmic bios get serialnumber` to see the BIOS serial number, or `wmic csproduct get identifyingnumber` for the system model identifier. The SerialNumber field is the unique identifier hardware vendors assign to your machine.

How to get Windows key from cmd?

Use `wmic path softwarelicensingservice get OA3xOriginalProductKey` to retrieve the Windows product key. This works on both Windows 10 and 11 and reads the key embedded in the motherboard firmware. Use the Ready-to-run .bat file on this page to do it without typing anything.

How to open cmd?

Press Windows+R, type `cmd`, and press Enter. Or open the Start menu, type "Command Prompt", and click the app. Right-click "Command Prompt" and choose "Run as administrator" when elevated rights are needed.

How to open cmd as admin?

Open the Start menu, type "cmd" or "Command Prompt", then right-click it and choose "Run as administrator". You can also press Ctrl+Shift+Enter while the result is highlighted. Accept the UAC prompt to continue. The .bat file on this page does the same thing with one click.

How to clear cmd?

Type `cls` and press Enter to clear the Command Prompt screen. It removes the scrollback history too, giving you a clean window.

How to check python version in cmd?

Type `python --version` (or `py --version`) and press Enter. If Python isn't recognized, it may not be added to your PATH — reinstall Python and tick "Add Python to PATH".

How to check java version in cmd?

Type `java -version` and press Enter. The output shows the Java version and build. If it isn't recognized, install the JDK and ensure `bin` is on your PATH.

PowerShell vs CMD — what's the difference?

CMD (Command Prompt) is the classic Windows shell for batch commands like `cd`, `dir`, and `cls`. PowerShell is a more powerful scripting shell built on .NET, with cmdlets like `Get-Item` and objects instead of plain text. For everyday navigation both work; use PowerShell for automation and CMD for quick, simple commands.

What does cmd stand for?

CMD stands for Command Prompt (the executable is cmd.exe). It's the text-based command interpreter included with Windows.

How to open cmd in Windows setup?

During Windows installation, press Shift+F10 on the keyboard to open a Command Prompt window. It lets you run diskpart, fix boot issues, or run scripts before Windows finishes installing.

What is cmd on keyboard?

On a keyboard, "Cmd" usually refers to the Command key (⌘) on Mac keyboards — not the Windows Command Prompt. On Windows the equivalent key is the Windows logo key, and you open the Command Prompt by pressing Windows+R and typing `cmd`.