|
beeny
初级用户
 
积分 136
发帖 49
注册 2007-1-4
状态 离线
|
『楼 主』:
批处理修改系统启动等待时间
使用 LLM 解释/回答一下
也许你的计算机中是Windows9X与WindowsXP共存,用户完全可以减少Windows XP操作系统启动的时候显示操作系统列表的时间。请点击“开始”→“运行”输入“msconfig”打开“系统配置实用程序”→“BOOT.INI”,将超时设置改为你想要的时间,如果你是一个忠实的Windows XP操作系统的使用者,笔者建议你完全可以把启动等待时间设置为5秒。或者右键单击“我的电脑”→“属性”→“高级”,在“启动和故障恢复”中点击“设置”,可以设置显示操作系统列表的时间,单击“编辑”也可以手动编辑启动选项,将timeout=30改为timeout=5即可
上面的修改方法能否用代码实现或者注册表
───────────────── 版务记录 ─────────────────
执行:HAT
操作:在帖子标题中增加搜索关键字
说明:原标题"批处理修改系统启动项"不利于论坛搜索
───────────────── 版务记录 ─────────────────
Last edited by HAT on 2008-9-27 at 12:19 ]
Maybe your computer has Windows 9X and Windows XP coexisting. Users can completely reduce the time when the Windows XP operating system is displayed in the operating system list during startup. Please click "Start" → "Run", enter "msconfig" to open the "System Configuration Utility" → "BOOT.INI", and change the timeout setting to the time you want. If you are a loyal user of the Windows XP operating system, the author suggests that you can completely set the startup waiting time to 5 seconds. Or right-click "My Computer" → "Properties" → "Advanced", click "Settings" in "Startup and Recovery", you can set the time to display the operating system list, and click "Edit" to manually edit the startup options, change timeout=30 to timeout=5.
Can the above modification method be implemented with code or the registry
───────────────── Moderation Record ─────────────────
Performed: HAT
Operation: Added search keywords to the post title
Description: The original title "Batch processing to modify the system startup item" is not conducive to forum search
───────────────── Moderation Record ─────────────────
Last edited by HAT on 2008-9-27 at 12:19 ]
|
|
2008-3-4 22:15 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
|
2008-3-4 23:15 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
|
2008-3-5 00:38 |
|
|
lzys
初级用户
 
积分 54
发帖 28
注册 2006-10-16
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
这个教程好多,楼主搜索一下。。
There are many tutorials, the original poster search it.
|
|
2008-3-5 01:11 |
|
|
suntb
高级用户
   
积分 581
发帖 277
注册 2006-12-23
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
活到老 学到老啊
bootcfg 妙
You learn enough in a lifetime.
bootcfg is wonderful
|
|
2008-3-5 12:37 |
|
|
beeny
初级用户
 
积分 136
发帖 49
注册 2007-1-4
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
谢了!超实用!你要是改一个机子就用不上了,要改多台只要双击就好了!
Thanks! Super practical! If you only modify one machine, it won't work, but if you need to modify multiple machines, just double-click!
|
|
2008-3-5 14:23 |
|
|
wubozh
初级用户
 
积分 40
发帖 18
注册 2006-2-22
状态 离线
|
『第 7 楼』:
在命令行下修改
使用 LLM 解释/回答一下
for /f "delims=" %%a in (bootini) do (@echo %%a | find /i /v "time" >>boot.ini|| @echo timeout=5 >>boot.ini)
楼主试试这个。我原来给xp装第二系统时用的。把boot.ini里面的timeout这一句去掉后加上timeout=5就行了。
for /f "delims=" %%a in (bootini) do (@echo %%a | find /i /v "time" >>boot.ini|| @echo timeout=5 >>boot.ini)
The landlord can try this. I used it when I originally installed the second system for XP. After removing the timeout line in boot.ini, add timeout=5.
|
|
2008-3-5 16:50 |
|
|
wubozh
初级用户
 
积分 40
发帖 18
注册 2006-2-22
状态 离线
|
『第 8 楼』:
完整的
使用 LLM 解释/回答一下
c:
cd\
if exist bootini attrib bootini -s -h -r & del bootini /q
attrib boot.ini -s -h -r
ren boot.ini bootini
for /f "delims=" %%a in (bootini) do (@echo %%a | find /i /v "time" >>boot.ini|| @echo timeout=3 >>boot.ini)
echo C:\GRLDR="Start GRUB" >>boot.ini
attrib boot.ini +s +r +h
del boot.bat
最后这句用来删除自己
Last edited by wubozh on 2008-3-5 at 04:56 PM ]
c:
cd\
if exist bootini attrib bootini -s -h -r & del bootini /q
attrib boot.ini -s -h -r
ren boot.ini bootini
for /f "delims=" %%a in (bootini) do (@echo %%a | find /i /v "time" >>boot.ini|| @echo timeout=3 >>boot.ini)
echo C:\GRLDR="Start GRUB" >>boot.ini
attrib boot.ini +s +r +h
del boot.bat
The last sentence is used to delete itself
Last edited by wubozh on 2008-3-5 at 04:56 PM ]
|
|
2008-3-5 16:53 |
|
|
beeny
初级用户
 
积分 136
发帖 49
注册 2007-1-4
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
学习了!
不过用BOOTCFG /TIMEOUT 3 要快很多
Learned!
But using BOOTCFG /TIMEOUT 3 is much faster
|
|
2008-3-5 22:35 |
|
|
wubozh
初级用户
 
积分 40
发帖 18
注册 2006-2-22
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
我这是给xp安装dos系统grub用的自动安装批处理,用了winrar的脚本功能。它除了要把timeout=30改为3之外,还要在boot.ini后面加上dos系统的调用命令:echo C:\GRLDR="Start GRUB" >>boot.ini 这样的话,bootcfg=5是无法实现的。如果只是要实现修改等待时间为3,确实是你那个方便些
This is an automatic installation batch script I made for installing the DOS system with GRUB on XP. It uses the script function of WinRAR. Besides changing timeout=30 to 3, it also needs to add the call command for the DOS system after boot.ini: echo C:\GRLDR="Start GRUB" >>boot.ini. In this case, bootcfg=5 cannot be realized. If it's just to change the waiting time to 3, indeed yours is more convenient.
|
|
2008-3-6 09:51 |
|