在 DOS 中键入波形符 ~ 字符

发布于 2024-07-18 08:53:27 字数 183 浏览 6 评论 0原文

在 DOS 提示符中,我必须输入波形符 (~) 字符才能打开任何文件。

由于某种原因,它不会出现在 DOS 框/提示符中。

是否有任何形式的 Ctrl 快捷键可以让我输入 ~ 字符?

不过,只有 DOS 提示符无法识别该键才是最令我困扰的。

In my DOS prompt I have to put in a tilde (~) character to open any files.

For some reason it won't show up in the DOS box/prompt.

Is there any form of Ctrl shortcut key thing that could get me to typing a ~ character?

It's only the DOS prompt that won't recognize that key is what gets me the most though.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

谁对谁错谁最难过 2024-07-25 08:53:27

按住 Alt 键并在数字键盘上键入 0126(零一二六)。 这就是该字符的 ascii 值。

GWBasic:

10 a$="~"
20 ? asc(a$)
run
126

在 DOS 中,您需要以其他符号所需的 0 + 值开头,并且它仅适用于数字键盘。

Hold down the Alt key and type 0126 (zero one two six) on the numeric keypad. That is the ascii value of that character.

GWBasic:

10 a$="~"
20 ? asc(a$)
run
126

In DOS you need to begin with a 0 + value you need for other symbols and it only works on the numeric keypad.

空袭的梦i 2024-07-25 08:53:27

在西班牙语键盘上,您可以按“Alt Gr”和“4”。

该组合键将在任何地方(包括命令行)写入波形符

On Spanish keyboards you can press "Alt Gr" and "4".

That key combination will write a tilde anywhere, including the command line.

々眼睛长脚气 2024-07-25 08:53:27

尝试复制/粘贴怎么样?

  1. 开始 -> 运行 -> 字符映射
  2. 选择 ~ 字符并点击选择,然后复制
  3. 打开提示窗口并转到 Alt+Space 然后编辑 -> 粘贴

How about trying to copy/paste it?

  1. Start->Run->charmap
  2. select the ~ char and hit select then copy
  3. open the prompt window and go Alt+Space then Edit->Paste
想你的星星会说话 2024-07-25 08:53:27

我输入 SHIFT 和“数字 1 左侧的键”以在我的混合系统中产生波形符 ~。

(这确实有效。实际键盘是 de-sg,但多重模拟环境在命令窗口中的行为类似于 DOS 或 WinPE US 键盘。)

I typed SHIFT and the "key left to the digit 1" to produce a tilde ~ in my multimixed system.

(This actually worked. Actual keyboard is de-sg, but the multiemulated environment behaves like a DOS or WinPE US keyboard, in a command window.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文