3

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?

dessert
  • 40,956

1 Answers1

6

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  
karel
  • 122,292
  • 133
  • 301
  • 332