I'm using the Windows Subsystem for Linux WSL. I can start and exit the Ubuntu command-line with ubuntu or exit respectively, but I also want to run cmd commands there.
How can I start cmd.exe from within the WSL terminal?
I'm using the Windows Subsystem for Linux WSL. I can start and exit the Ubuntu command-line with ubuntu or exit respectively, but I also want to run cmd commands there.
How can I start cmd.exe from within the WSL terminal?
From within a Bash/WSL console you can invoke Windows executables by specifying the (correctly-cased) name of the executable, including its .exe extension (example: notepad.exe [filename]). To start a new cmd shell and (optionally) run a command/executable program type:
cmd.exe