Skip to main content

Module cmd

Module cmd 

Source
Expand description

The cmd shell implementation (Windows Command Prompt). The cmd shell (Windows Command Prompt).

cmd.exe is the Windows peer of Bash/PowerShell: a real command language over the same Windows OS. It implements the classic prompt’s builtins (echo, dir, cd, type, set, copy, …), %VAR% expansion, &/&&/|| sequencing, | pipelines, and >/>>/2> redirection, and resolves external commands through the Windows command table like PowerShell does — so tasklist, ipconfig, and whoami behave identically in either shell.

The two shells coexist on one machine: powershell and cmd are both launchable on Windows, exactly as on a real system.

Structs§

Cmd
The cmd shell.