For example, my BOOT.INI is like this
Now I want to use a batch script to find the line
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /execute /fastdetect
And be able to add a string at the end of this line. For example, modify it to
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /execute /fastdetect /Kernel=Kernel.exe
I'm a newbie, I sincerely ask all experts for your advice, and I hope you don't laugh at me.
[ Last edited by willsort on 2006-6-10 at 22:48 ]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /execute /fastdetect
C:\Avldr.bin="Windows XPE By: Lao Maotao"
C:\GRLDR="GRUB Boot"
Now I want to use a batch script to find the line
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /execute /fastdetect
And be able to add a string at the end of this line. For example, modify it to
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /execute /fastdetect /Kernel=Kernel.exe
I'm a newbie, I sincerely ask all experts for your advice, and I hope you don't laugh at me.
[ Last edited by willsort on 2006-6-10 at 22:48 ]

