无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3668|回复: 0
打印 上一主题 下一主题

[求助] 关于 CMD 命令 Prompt 511 Chars 限制

[复制链接]
跳转到指定楼层
1#
发表于 2018-11-17 05:46:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 plusv 于 2018-11-17 06:48 编辑

The maximum length of a prompt string is 511 characters.
If a longer prompt is set it will be silently truncated to the first 511 symbols.
The dollar codes each count as 1 character.


测试 :

OK : 小于 511 Chars
prompt %time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%234$p$g

NG : 大于 511 Chars
prompt %time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%time%%234$p$g

有无好方法能设置到 4095 Chars ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-11-27 08:12

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表