![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-13 03:09 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Question about a batch file, please help take a look.. |
| Printable Version 1,018 / 1 |
| Floor1 richercdw | Posted 2007-04-26 03:36 |
| 初级用户 Posts 32 Credits 62 | |
|
I wrote a batch file, as follows:
Now the problem is, why doesn't the line echo timeout=2>>boot.ini get written? If I add a space after the 2, then it can be written. What's the reason for that? cd /d c:\ attrib -a -s -h boot.ini echo [boot loader]>boot.ini echo timeout=2>>boot.ini echo default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS>>boot.ini echo [operating systems]>>boot.ini echo multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect>>boot.ini echo C:\mxldr=MaxDOS v5.8s>>boot.ini attrib +a +s +h boot.ini |
|
| Floor2 debug | Posted 2007-12-02 18:26 |
| 初级用户 Posts 16 Credits 32 | |
|
Just make sure to add a space when entering it.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |