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

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/741
Author: @hvoigt
Created: 5/13/2019
Status: Merged
Merged: 5/21/2019
Merged by: @undefined

Base: masterHead: fix-copy-files


📝 Commits (3)

  • 9efc61b make copying of files windows localization agnostic
  • 92d3f90 start fixing commandline tools to run new windows terminal
  • 89fcb26 remove openterm command

📊 Changes

5 files changed (+11 additions, -73 deletions)

View changed files

📝 tools/echokey.cmd (+2 -2)
tools/opencas.cmd (+0 -29)
📝 tools/opencon.cmd (+5 -5)
tools/openterm.cmd (+0 -33)
📝 tools/openvt.cmd (+4 -4)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/741 **Author:** [@hvoigt](https://github.com/hvoigt) **Created:** 5/13/2019 **Status:** ✅ Merged **Merged:** 5/21/2019 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `fix-copy-files` --- ### 📝 Commits (3) - [`9efc61b`](https://github.com/microsoft/terminal/commit/9efc61b1b96163931b95f01e162fc46cf3f2bb2a) make copying of files windows localization agnostic - [`92d3f90`](https://github.com/microsoft/terminal/commit/92d3f90caed6f8fc9b2f268655df7b8c316a9fd5) start fixing commandline tools to run new windows terminal - [`89fcb26`](https://github.com/microsoft/terminal/commit/89fcb26e50b186c6cd7ae199eebf19eb2dedd5a7) remove openterm command ### 📊 Changes **5 files changed** (+11 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `tools/echokey.cmd` (+2 -2) ➖ `tools/opencas.cmd` (+0 -29) 📝 `tools/opencon.cmd` (+5 -5) ➖ `tools/openterm.cmd` (+0 -33) 📝 `tools/openvt.cmd` (+4 -4) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:02:24 +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#24286