Skip to content

DNASECURE12/vscode-batch-runner

 
 

Repository files navigation

Batch Runner

Quickly run batch (.bat / .cmd / .btm) files in the VS Code terminal:


Context menu option: "Run Batch File in Terminal"


Ways to execute a batch file

Hotkey

If the active document is a batch file, press F5 to execute it.


Right Click Menu

This extension adds the option "Run Batch File" when right clicking any batch file in the explorer.

Context menu option: "Run Batch File in Terminal"


Button

When a batch file is open in the editor a small icon is added to the top right corner which can be used to execute the file.

Button: Run Batch File


Running Batch file as administrator

If you wish to run the batch file with administrator privileges there are a few ways to do so:

  • Command: Run Batch File as Administrator

  • Context Menu: Holding down Alt when right clicking a file in the explorer will provide you with the option to run the batch file as administrator.

  • By clicking the dropdown arrow next to the run button:

    Button: Run Batch File


Feedback, Bugs or Requests

If you have any questions, feature requests or run into any bugs, don't hesitate to get in contact with me:

Report an issue
Personal Website
Twitter

About

Visual Studio Code extension to run batch files in the terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.8%
  • Batchfile 3.2%