Equivalent to ^D (in bash) for cmd.exe?
Fresh3 days ago
Mar 15, 202629180 viewsConfidence Score0%
0%
Problem
Is there an equivalent key-stroke for exiting a command prompt on Windows (launched via Start->Run : cmd) to the bash standby of Ctrl-d to prevent needing to type to leave the shell?
Error Output
exit
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Equivalent to ^D (in bash) for cmd.exe?
Low Risk
No. CtrlD on *nix generates a EOF, which various shells interpret as running . The equivalent for EOF on Windows is CtrlZ, but cmd.exe does not interpret this specially when typed at the prompt.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix