Closed Kotsuha closed 1 year ago
Hi,
Yes, wouldn't that be the expected result? This is the same as running the batch file in cmd/powershell (This extension executes your batch file in cmd.exe by default).
Maybe you wanted to insert @echo off
at the top of the batch files, to prevent the commands from being shown?
Also, you probably wanted to echo %foo%
, not %bar%
:
@echo off
echo Hello
set foo=bar
echo 1
echo 2
echo 3
echo %foo%
Hello
1
2
3
bar
C:\Temp>
Cheers, Nils
Oops, it's a silly mistake made by me. Thank you! It's working as expected now.
What I see in VSCode terminal
Batch Runner v1.0.0 VSCode 1.72.2