|
zzttff
新手上路

积分 5
发帖 3
注册 2006-1-16
状态 离线
|
|
2007-3-19 11:08 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
Originally posted by yangzhiyi at 2007-3-17 07:52 AM:
还差一个参数没有啊,应该还有一个功能能读出项目的数值 如
timeout=3
得到 3
现在
inifile c:\boot.ini "" timeout
:: 显示 ...
这个自己再用批处理来读取吧.
也可以自己修改批处理,让它将timeout设为一个坏境变量就是timeout的值3
Originally posted by yangzhiyi at 2007-3-17 07:52 AM:
There is still one parameter missing. There should be a function to read the value of the project, such as
timeout=3
Get 3
Now
inifile c:\boot.ini "" timeout
:: display ...
You can read this yourself with a batch script.
You can also modify the batch script yourself to set timeout as an environment variable, which is the value of timeout, 3
|

QQ:366840202
http://chenall.net |
|
2007-3-19 14:30 |
|
|
haogaogx
初级用户
 
积分 20
发帖 17
注册 2007-3-15
状态 离线
|
|
2007-3-22 19:44 |
|
|
pmwz008
初级用户
 
积分 24
发帖 13
注册 2007-3-23
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
提示命令语法不正确
The syntax of the prompt command is incorrect
|
|
2007-3-23 05:58 |
|
|
nicesoft
初级用户
 
积分 98
发帖 47
注册 2007-1-28
状态 离线
|
|
2007-4-17 01:54 |
|
|
rrrrrrr
新手上路

积分 13
发帖 6
注册 2007-4-25
状态 离线
|
|
2007-4-25 07:36 |
|
|
chenall
银牌会员
    
积分 1276
发帖 469
注册 2002-12-23 来自 福建泉州
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
07-04-25
新增了一个设置变量的功能.具体看里面的注释
有需要该功能的朋友可以测试一下.
07-04-25
Added a function to set variables. Please refer to the comments inside for details.
Friends who need this function can test it.
|

QQ:366840202
http://chenall.net |
|
2007-4-26 11:56 |
|
|
yh6688
初级用户
 
积分 20
发帖 12
注册 2007-6-1
状态 离线
|
|
2007-6-1 16:21 |
|
|
xlaoma
新手上路

积分 2
发帖 1
注册 2007-6-25
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
楼主可不可以加点注释,我有点看不明白。
Can the thread starter add some comments? I don't quite understand it.
|
|
2007-6-25 15:38 |
|
|
slam
新手上路

积分 18
发帖 7
注册 2007-6-30
状态 离线
|
『第 25 楼』:
为什么这条批处理之后不能再执行其它的批处理啊?
使用 LLM 解释/回答一下
请问一下,我另作一个批处理,先执行inifile,然后执行其它的批处理,但发现总是inifile 执行完了就停止了为什么会这样啊?
May I ask, I made another batch file, first executing inifile, then executing other batch files, but I found that it always stops after inifile is executed. Why is this?
|
|
2007-6-30 19:21 |
|
|
ztosen
新手上路

积分 2
发帖 1
注册 2007-7-28 来自 China
状态 离线
|
|
2007-7-28 21:38 |
|
|
abao6160
新手上路

积分 2
发帖 1
注册 2008-1-19
状态 离线
|
|
2008-1-19 12:24 |
|
|
flasharmy
初级用户
 
积分 52
发帖 26
注册 2008-1-16
状态 离线
|
|
2008-1-19 20:56 |
|
|
SamuelFish
初级用户
 
积分 61
发帖 30
注册 2008-1-16
状态 离线
|
|
2008-1-21 19:30 |
|
|
yangzhiyi
中级用户
  
积分 261
发帖 123
注册 2006-6-6
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
刚好要用到, 还提两个建议
能读取所有字段名,如得到
再一个读取一个字段得到所有项目名
timeout
default
设置变量的功能加多能只显示项目值功能
输入时不用输入
能加多修改功能就最好,成行替换好像也不是太难。
最后问下
if /i "!a!"=="%item%" (
if "%setvar%"=="1" (
endlocal&set "%%x"
echo %item%
想显示值, 怎么不行啊, echo %%item%%也不行
Last edited by yangzhiyi on 2008-3-12 at 01:05 PM ]
Just about to use it, and also put forward two suggestions:
Can read all field names, such as getting
Another one is to read a field and get all item names
timeout
default
Add the function of setting variables to have the function of only displaying item values
When entering , you don't need to enter
It would be best to add a modification function, and line-by-line replacement doesn't seem too difficult.
Finally ask
if /i "!a!"=="%item%" (
if "%setvar%"=="1" (
endlocal&set "%%x"
echo %item%
I want to display the value, why doesn't it work? echo %%item%% also doesn't work
Last edited by yangzhiyi on 2008-3-12 at 01:05 PM ]
|
|
2008-3-12 12:11 |
|