Skip to content

Batch not executed in teminal #25618

Closed as not planned
Closed as not planned

Description

Type: Bug

Batch NOT executed if ".bat" extension included in command:

PS C:\Users\janm\source\route\route_planner> .\.venv\Scripts\activate.bat
PS C:\Users\janm\source\route\route_planner> py -V
Python 3.14.0
PS C:\Users\janm\source\route\route_planner> .\.venv\Scripts\activate    
(.venv) PS C:\Users\janm\source\route\route_planner> py -V
Python 3.13.3
(.venv) PS C:\Users\janm\source\route\route_planner>

VS Code version: Code 1.106.3 (bf9252a2fb45be6893dd8870c0bf37e2e1766d61, 2025-11-25T22:28:18.024Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 7 155H (22 x 2995)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.37GB (19.15GB free)
Process Argv . --crash-reporter-id 76f907b0-e102-4813-b4cc-a1e46fdc83b7
Screen Reader no
VM 50%
Extensions (24)
Extension Author (truncated) Version
codeium Cod 1.48.2
vscode-excel cwe 3.5.4
vscode-eslint dba 3.0.16
xml Dot 2.5.1
prettier-vscode esb 11.0.0
vscode-sort hen 0.2.5
svg joc 1.5.4
mssql-extensions-starter-pack MEn 0.2.0
mssql-scripts MEn 0.5.0
mssql-snippets MEn 0.4.0
csdevkit ms- 1.80.7
csharp ms- 2.100.11
vscode-dotnet-runtime ms- 2.3.7
data-workspace-vscode ms- 0.6.3
mssql ms- 1.37.0
sql-bindings-vscode ms- 0.4.1
sql-database-projects-vscode ms- 1.5.5
debugpy ms- 2025.16.0
python ms- 2025.18.0
vscode-pylance ms- 2025.10.2
vscode-python-envs ms- 1.12.0
extension-test-runner ms- 0.0.12
svg-preview Sim 2.8.3
svelte-vscode sve 109.12.0
A/B Experiments
vsliv368cf:30146710
vswsl492cf:30256860
binariesv615:30325510
vscrp:30673768
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
82j33506:31327384
nes-set-on:31351930
6abeh943:31336334
cloudbuttont:31379625
todos-1:31405332
qwen_all_req:31402696
control_gpt5applypatchexclusively:31412085
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
ec5jj548:31422691
terminalsuggestenabled:31426255
cp_cls_c_966_ss:31426491
chatvisible:31426294
defaulttokens:31426298
c0683394:31419495
478ah919:31426729
7gj03587:31426750
fa76a614:31426753

Activity

  1. anthonykim1 commented on Dec 11, 2025

    @anthonykim1

    Whats the behavior when you run this in external terminal outside of vscode?

    Also what happens if you try environment extension:

    Try install https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-python-envs

    Can you update Python extension, Python environment extension to latest and see if you can still repro?
    Also add "python.useEnvironmentsExtension": true, to your settings.json.

    Please file issue on https://github.com/microsoft/vscode-python-environments/issues if you see problem again,

  2. added
    area-environmentsFeatures relating to handling interpreter environments
    bugIssue identified by VS Code Team member as probable bug
    info-neededIssue requires more information from poster
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Dec 11, 2025
  3. github-actions commented on Jan 11, 2026

    @github-actions

    Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

    Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-environmentsFeatures relating to handling interpreter environmentsarea-terminalbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions