Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Run Bat As TaskNew to Visual Studio Code? Get it now.
Run Bat As Task

Run Bat As Task

Remader

|
29 installs
| (0) | Free
Run .bat files in terminal with one click
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Run Bat As Task

Run .bat and .cmd files in the integrated terminal with one click.

Features

  • Run button in the editor title bar when a .bat or .cmd file is open
  • Command Palette — press Ctrl+Shift+P and type Run Bat: Run as Task

Usage

  1. Open a .bat or .cmd file
  2. Click the Run button in the editor title bar, or press Ctrl+Shift+P → "Run Bat: Run as Task"
  3. The file runs in a new terminal with the correct working directory

Requirements

  • Windows (for .bat/.cmd execution). On other platforms, runs via shell.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft