Batch file issues #17322

Open
opened 2026-01-31 05:39:07 +00:00 by claunia · 0 comments
Owner

Originally created by @RichardD2 on GitHub (Apr 22, 2022).

Windows Terminal version

1.12.10983.0

Windows build number

10.0.22000.0

Other Software

Windows 11 File Explorer

Steps to reproduce

Set the default shell terminal to Windows Terminal.

Create a batch file which executes multiple robocopy commands.

Find the folder in Windows Explorer, and double-click the batch file.

Expected Behavior

The batch file should run to completion, and the terminal should either close or display the "process exited with code ..." message.

The robocopy output should fill the visible screen before scrolling off the top.

Actual Behavior

If there are changes for the first robocopy to replicate, the batch file seems to be terminated part-way through a subsequent robocopy command.

The output often only occupies the first couple of lines of the visible window. It never fills the screen.

Originally created by @RichardD2 on GitHub (Apr 22, 2022). ### Windows Terminal version 1.12.10983.0 ### Windows build number 10.0.22000.0 ### Other Software Windows 11 File Explorer ### Steps to reproduce Set the default shell terminal to Windows Terminal. Create a batch file which executes multiple `robocopy` commands. Find the folder in Windows Explorer, and double-click the batch file. ### Expected Behavior The batch file should run to completion, and the terminal should either close or display the "process exited with code ..." message. The `robocopy` output should fill the visible screen before scrolling off the top. ### Actual Behavior If there are changes for the first `robocopy` to replicate, the batch file seems to be terminated part-way through a subsequent `robocopy` command. The output often only occupies the first couple of lines of the visible window. It never fills the screen.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17322