[PR #741] make copying of files windows localization agnostic #24291

Closed
opened 2026-01-31 09:02:26 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/741

State: closed
Merged: Yes


On a german Windows when building I get the following error:

(D = Datei, V = Verzeichnis)? Ist das Ziel ...\Terminal\x64\Debug\TerminalSettings.pdb ein Dateiname
oder ein Verzeichnisname
(D = Datei, V = Verzeichnis)? f

The trick with piping 'f' for folder into stdin does not work here, since in
german folder is called 'Verzeichnis'. Due to the fact that the UI is
translated a 'v' is expected.

Lets use plain 'copy' which does not have the problem of asking whether a
target is a folder, if the target does not exist.

NOTE: I discovered this because the xcopy in src/cppwinrt.build.post.props failed for x64. The other locations I just applied the same pattern and did not test, since I do not know the code base that thoroughly. But if one location works the others should be fine, right? ;) Please test if this also works for others.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/741 **State:** closed **Merged:** Yes --- On a german Windows when building I get the following error: (D = Datei, V = Verzeichnis)? Ist das Ziel ...\Terminal\x64\Debug\TerminalSettings.pdb ein Dateiname oder ein Verzeichnisname (D = Datei, V = Verzeichnis)? f The trick with piping 'f' for folder into stdin does not work here, since in german folder is called 'Verzeichnis'. Due to the fact that the UI is translated a 'v' is expected. Lets use plain 'copy' which does not have the problem of asking whether a target is a folder, if the target does not exist. **NOTE**: I discovered this because the xcopy in `src/cppwinrt.build.post.props` failed for x64. The other locations I just applied the same pattern and did not test, since I do not know the code base that thoroughly. But if one location works the others should be fine, right? ;) Please test if this also works for others.
claunia added the pull-request label 2026-01-31 09:02:26 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24291