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
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
