How to Run Batch Files Directly inside VSCode IDE Terminal
5 views
Jul 3, 2025
Get the full source code of application here:
View Video Transcript
0:00
Uh hello guys, welcome to this video. So
0:02
in this video, I'll show you a VS code
0:04
extension which allows you to directly
0:06
run uh batch files inside your VS code
0:09
in the terminal itself. So this is
0:11
actually the extension. Just go to the
0:14
extensions and just type here batch
0:16
runner
0:18
b a t c runner.
0:23
And if you just see this extension, it
0:25
actually runs your batch files in the VS
0:28
code terminal directly. So there is the
0:30
install button. As soon as you install
0:33
this extension, a run button will be
0:35
there. So this is my batch script here.
0:37
You will see that.
0:39
And now you will have this if you click
0:43
the three dot symbols in the top right
0:45
corner of the screen and you will see
0:47
this option to run this code directly.
0:50
As soon as you done do this, just clear
0:53
out the window again. Select run button.
0:57
You'll see it will instantly run this
0:59
batch script. So it is actually printing
1:02
out all the files which are pre present
1:04
in the working directory. So it's a very
1:06
simple batch script. So this is a very
1:09
handy extension. So typically batch
1:12
scripts you want to run it very
1:15
complicated.
1:17
So this extensions will save you a lot
1:19
of time and it directly runs it directly
1:22
in the VS code itself. So now just
1:24
install this extension and start running
1:26
your batch scripts directly in VS code.
1:30
Also check out my website
1:32
freemediattools.com
1:34
uh which contains thousands of tools.
#Software