|
zouzhxi
中级用户
   蝴蝶之吻
积分 430
发帖 177
注册 2006-9-20 来自 广东深圳
状态 离线
|
|
2007-5-9 15:16 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
『第 32 楼』:
使用 LLM 解释/回答一下
Originally posted by studythedos at 2007-5-9 13:26:
为什么只能显示一次,
再运行时就什么也没了
不可能只显示一次! 每次启动都是一样的.
@echo off
::CMD里显示彩色文字
chcp 437>nul&&graftabl 936>nul
if not exist CONFIG.NT copy %WinDir%\System32\CONFIG.NT CONFIG.NT
@cls
echo DEVICE=%WinDir%\System32\ANSI.SYS /x >%WinDir%\System32\CONFIG.NT
@echo.
command /cecho
command /cecho
Originally posted by studythedos at 2007-5-9 13:26:
Why can it only be displayed once,
When running again, there is nothing.
It can't only be displayed once! Each start is the same.
@echo off
:: Display colorful text in CMD
chcp 437>nul&&graftabl 936>nul
if not exist CONFIG.NT copy %WinDir%\System32\CONFIG.NT CONFIG.NT
@cls
echo DEVICE=%WinDir%\System32\ANSI.SYS /x >%WinDir%\System32\CONFIG.NT
@echo.
command /cecho
command /cecho
|
|
2007-5-9 22:37 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 33 楼』:
使用 LLM 解释/回答一下
Originally posted by ZJHJ at 2007-5-9 22:37:
不可能只显示一次! 每次启动都是一样的.
我测试了很多次,也是只显示一次,再运行就没有效果了。
我想大家都说“只显示一次”都是他们经过测试之后才这样说的,不会无缘无故这样说,所以应该分析一下其中的原因。
Originally posted by ZJHJ at 2007-5-9 22:37:
It can't be displayed only once! Every time you start up, it's the same.
I tested many times, and it only displays once. When running again, there is no effect.
I think everyone says "only displays once" because they said so after testing, and they don't say it for no reason. So we should analyze the reason.
|
|
2007-5-9 23:59 |
|
|
wld
初级用户
 
积分 61
发帖 32
注册 2007-5-9
状态 离线
|
|
2007-5-10 16:51 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
『第 35 楼』:
使用 LLM 解释/回答一下
Originally posted by lxmxn at 2007-5-9 23:59:
我测试了很多次,也是只显示一次,再运行就没有效果了。
我想大家都说“只显示一次”都是他们经过测试之后才这样说的,不会无缘无故这样说,所以应该分析一下其中的原因。
我的系统是xp sp2 我修改的这个在我机器上启动,每次都是正常的.由于有时启动时不显示第一行,所以在前面加了个空行.在启动时会修改CONFIG.NT文件的内容(不被修改则不会显示正常),由于原文件内容不知是什么程序用的,所以退出时恢复原文件.如果用bak备份CONFIG.NT即CONFIG.NT.bak,但我在System32文件夹搜索不到CONFIG.NT.bak,为了安全起见用了copy.
Originally posted by lxmxn at 2007-5-9 23:59:
I have tested many times, and it only shows once. When I run it again, there is no effect.
I think everyone saying "only shows once" is what they said after testing, and they won't say it without reason, so we should analyze the reason.
My system is XP SP2. The one I modified starts on my machine, and it is normal every time. Because sometimes the first line is not displayed when starting, so I added an empty line in front. When starting, it will modify the content of the CONFIG.NT file (if not modified, it will not display normally). Since the original file content is what program uses, so when exiting, restore the original file. If using bak to back up CONFIG.NT, which is CONFIG.NT.bak, but I can't find CONFIG.NT.bak in the System32 folder. For safety, I used copy.
|
|
2007-5-10 19:52 |
|
|
6622186
高级用户
   
积分 894
发帖 411
注册 2007-2-17
状态 离线
|
『第 36 楼』:
使用 LLM 解释/回答一下
那个ANSI编辑器怎么用?
How to use that ANSI editor?
|

@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul
|
|
2007-5-10 23:32 |
|
|
6622186
高级用户
   
积分 894
发帖 411
注册 2007-2-17
状态 离线
|
『第 37 楼』:
使用 LLM 解释/回答一下
好漂亮啊! 为什么要用 config.nt 文件?
So beautiful! Why use the config.nt file?
|

@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul
|
|
2007-5-10 23:34 |
|
|
philosophy
初级用户
 
积分 170
发帖 24
注册 2004-6-1
状态 离线
|
|
2007-6-20 00:47 |
|
|
online365
初级用户
 
积分 182
发帖 75
注册 2006-10-11
状态 离线
|
『第 39 楼』:
使用 LLM 解释/回答一下
有趣,32楼的有时候行,有时候不行.
两次中间只有一次看得到.
谁能详细的说一下.CONFIG.NT是个什么文件吗?
Interesting, sometimes it works and sometimes it doesn't on the 32nd floor.
Only once can I see it between the two times.
Can anyone explain in detail what the.CONFIG.NT file is?
|
|
2007-6-20 01:04 |
|
|
lililulula
中级用户
  
积分 302
发帖 138
注册 2007-3-29
状态 离线
|
『第 40 楼』:
使用 LLM 解释/回答一下
LZ我这里的问题也是 第一次成功运行 后来就没办法显示了
LZ, I have the same problem here. It worked successfully the first time, but then it couldn't display anymore.
|
|
2007-6-25 12:17 |
|
|
yuhaoran
新手上路

积分 4
发帖 2
注册 2007-6-25
状态 离线
|
『第 41 楼』:
使用 LLM 解释/回答一下
下个附件都要积分啊!恼火!
Next attachments all require points! Annoying!
|
|
2007-6-25 19:48 |
|
|
estar
中级用户
  
积分 346
发帖 103
注册 2004-4-6
状态 离线
|
『第 42 楼』:
使用 LLM 解释/回答一下
这个是论坛设置,我又不是故意设置积分。
This is the forum setting. I didn't set the points on purpose.
|
|
2007-6-25 22:23 |
|
|
kcdsw
中级用户
  
积分 404
发帖 179
注册 2006-3-30
状态 离线
|
『第 43 楼』:
使用 LLM 解释/回答一下
@echo off &setlocal enableextensions enabledelayedexpansion
chcp 437>nul&&graftabl 936>nul
copy %WinDir%\System32\CONFIG.NT CONFIG.NT >nul 2>nul
echo DEVICE=%WinDir%\System32\ANSI.SYS /x >%WinDir%\System32\CONFIG.NT
cls
set cecho_=command /cecho
for /l %%i in (0,1,7) do (
for /l %%j in (2,1,9) do (
set /a k=%%j-2
%cecho_%
```
@echo off &setlocal enableextensions enabledelayedexpansion
chcp 437>nul&&graftabl 936>nul
copy %WinDir%\System32\CONFIG.NT CONFIG.NT >nul 2>nul
echo DEVICE=%WinDir%\System32\ANSI.SYS /x >%WinDir%\System32\CONFIG.NT
cls
set cecho_=command /cecho
for /l %%i in (0,1,7) do (
for /l %%j in (2,1,9) do (
set /a k=%%j-2
%cecho_%
附件
1: 新建 BMP 图像.JPG (2007-6-26 17:08, 38.37 KiB,下载次数: 3)
|
|
2007-6-26 17:08 |
|
|
rockdong
初级用户
 
积分 48
发帖 25
注册 2007-7-30
状态 离线
|
|
2007-9-4 11:30 |
|
|
afeichai
初级用户
 
积分 171
发帖 78
注册 2006-11-22
状态 离线
|
|
2007-9-5 23:36 |
|