|
cxfaa
初级用户
 
积分 64
发帖 23
注册 2007-1-16
状态 离线
|
『楼 主』:
如何修改boot.ini 中的timeout=30
使用 LLM 解释/回答一下
请问用什么批处理命令才能使timeout=30修改成timeout=5
原文
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
Last edited by cxfaa on 2007-1-15 at 11:36 PM ]
What batch command can be used to change timeout=30 to timeout=5
Original text
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
Last edited by cxfaa on 2007-1-15 at 11:36 PM ]
|
|
2007-1-16 12:31 |
|
|
Eblis
中级用户
  
积分 251
发帖 108
注册 2007-1-7 来自 湖南==>广州
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
发贴搜索下咯..论坛N多这样的贴..小心版主扣你分```
Post and search. There are many such posts in the forum.. Be careful the moderator will deduct your points.
|
|
2007-1-16 12:32 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
每个人都可以扣分的,比如说这样
Everyone can deduct points. For example, like this
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-16 12:39 |
|
|
mqi
初级用户
 
积分 28
发帖 11
注册 2006-11-5
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
type c:\boot.ini>c:\boot.bak
attrib -h -r -s c:\boot.ini
type c:\boot.bak|find "boot loader" /i>c:\boot.ini
echo timeout=5 >>c:\boot.ini
type c:\boot.bak|find "boot loader" /i /v|find "timeout" /i /v>>c:\boot.ini
attrib +s +r +h c:\boot.ini
type c:\boot.ini>c:\boot.bak
attrib -h -r -s c:\boot.ini
type c:\boot.bak|find "boot loader" /i>c:\boot.ini
echo timeout=5 >>c:\boot.ini
type c:\boot.bak|find "boot loader" /i /v|find "timeout" /i /v>>c:\boot.ini
attrib +s +r +h c:\boot.ini
|
|
2007-1-17 00:40 |
|
|
aazz555
初级用户
 
积分 17
发帖 7
注册 2007-1-15
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
我试了,boot.ini的时间是改了。boot.bak还是原来的时间。没有变动。
I tried, the time of boot.ini was changed. boot.bak is still the original time. No change.
|
|
2007-1-17 01:31 |
|
|
lockingxp
初级用户
 
积分 30
发帖 15
注册 2006-1-25
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
每个人都可以扣分的,比如说这样
Everyone can deduct points, for example like this
|
|
2007-1-17 10:20 |
|
|
zhenfu
中级用户
  
积分 204
发帖 21
注册 2003-7-27
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Originally posted by aazz555 at 2007-1-17 01:31 AM:
我试了,boot.ini的时间是改了。boot.bak还是原来的时间。没有变动。
BOOT.BAK是用作临时使用,你根本就用不到,只是楼上的程序执行完了没删除而已,你用到的是 boot.ini 管 boot.bak什么事
Originally posted by aazz555 at 2007-1-17 01:31 AM:
I tried, the time of boot.ini was changed. But BOOT.BAK is still the original time. There is no change.
BOOT.BAK is for temporary use, you don't need it at all. It's just that the program upstairs didn't delete it after execution. What does BOOT.BAK have to do with you using boot.ini
|
|
2007-1-17 13:48 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
月经贴啊~~~~搜索boot.ini不知道有多少结果呢
This is a menstrual post~~~~How many results will be found by searching boot.ini?
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-18 00:23 |
|
|
dikex
高级用户
    潜水修练批处理
积分 788
发帖 366
注册 2006-12-31
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
在winxp下面的话可以使用bootcfg命令修改
BOOTCFG /Timeout 秒数
Under Windows XP, you can use the bootcfg command to modify.
BOOTCFG /Timeout seconds
|
|
2007-1-18 06:07 |
|
|
tao0610
高级用户
    朦胧的世界
积分 579
发帖 218
注册 2006-10-24
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
...打击三股恶势力?
...combat the three evil forces?
|

认识自己,降伏自己,改变自己,才能改变别人! |
|
2007-1-18 06:14 |
|
|
samual2004
初级用户
 
积分 30
发帖 13
注册 2006-1-6
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
type c:\boot.ini>c:\boot.bak
rem boot.bak上面的语句是建立一个临时的文件,提供下面用。
rem (这个文件起了保存boot.ini的作用,仅此而已)
attrib -h -r -s c:\boot.ini
rem 取消属性 h ,s ,r三个属性,不然怎么修改?
type c:\boot.bak|find "boot loader" /i>c:\boot.ini
rem 还原原来文件的第一行
echo timeout=5 >>c:\boot.ini
rem 修改时间这是这个批处理的目标。
type c:\boot.bak|find "boot loader" /i /v|find "timeout" /i /v>>c:\boot.ini
rem 把除了有boot和timeout的行写下,下面是还原属性,
rem 批处理ok。
attrib +s +r +h c:\boot.ini
mqi 这位朋友特意帮你
写了这个思路不错的批处理
还要给你们气的一踏涂地。。。。
我看着的都真的晕了。
Last edited by samual2004 on 2007-1-18 at 08:07 AM ]
type c:\boot.ini>c:\boot.bak
rem The above statement for boot.bak is to create a temporary file for subsequent use.
rem (This file serves to save boot.ini, and that's all)
attrib -h -r -s c:\boot.ini
rem Remove the attributes h, s, r; otherwise, how to modify it?
type c:\boot.bak|find "boot loader" /i>c:\boot.ini
rem Restore the first line of the original file
echo timeout=5 >>c:\boot.ini
rem Modifying the timeout is the goal of this batch processing.
type c:\boot.bak|find "boot loader" /i /v|find "timeout" /i /v>>c:\boot.ini
rem Write down the lines except those with "boot" and "timeout", then restore the attributes,
rem The batch processing is done.
attrib +s +r +h c:\boot.ini
mqi This friend specially wrote this batch processing with a good idea
Still to make you guys extremely angry...
I'm really confused when I see it.
Last edited by samual2004 on 2007-1-18 at 08:07 AM ]
|
|
2007-1-18 08:00 |
|
|
6622186
高级用户
   
积分 894
发帖 411
注册 2007-2-17
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
原来可以使用两个 | .
Originally, you can use two |.
|

@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul
|
|
2007-4-1 12:12 |
|