eri Posted February 5, 2010 Share Posted February 5, 2010 This my boot.ini in XP [boot loader] timeout=3 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=AlwaysOff /fastdetect /TUTag=PEHL5F /Kernel=TUKernel.exe I want add c:\Sample="Windows Sample AutoIT" without change everything in original boot.ini just add c:\Sample.ok="Windows Sample AutoIT" with autoit script.. Please Help me.. Link to comment Share on other sites More sharing options...
MvGulik Posted February 5, 2010 Share Posted February 5, 2010 (edited) whatever Edited February 7, 2011 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
kaotkbliss Posted February 5, 2010 Share Posted February 5, 2010 Boot.ini should never need touched/edited! doing so can cause boot-up failure. I'm sure you can see where this will lead. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
eri Posted February 5, 2010 Author Share Posted February 5, 2010 I have create script but I wan delete title in Section This is my script : #include <GUIConstants.au3> FileSetAttrib ("c:\boot.ini","-RASH") $sIni = "C:\Boot.ini" $sData = "c:\Sample=""Windows Sample AutoIT""" IniWriteSection($sIni, "AutoIT", $sData) $textfile = FileOpen("C:\boot.ini",0) $text = FileRead($textfile) FileClose($textfile) GUICreate("Boot.ini Info..???" , 400,400) GUICtrlCreateEdit($text,5,5,390,390) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop EndIf WEnd [boot loader] timeout=3 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=OptOut /fastdetect /TUTag=PEHL5F /Kernel=TUKernel.exe [AutoIT] c:\Sample="Windows Sample AutoIT" How to disable title [AutoIt]..?? I want like this : [boot loader] timeout=3 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=OptOut /fastdetect /TUTag=PEHL5F /Kernel=TUKernel.exe c:\Sample="Windows Sample AutoIT" Please help me again.. Link to comment Share on other sites More sharing options...
MvGulik Posted February 5, 2010 Share Posted February 5, 2010 (edited) whatever Edited February 7, 2011 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
eri Posted February 5, 2010 Author Share Posted February 5, 2010 Thank`s MvGulik.. Just learning script add sting read and delete.. In attrib file.. i have change IniWriteSection($sIni, "AutoIT", $sData) to FileWrite($sIni, "AutoIT", $sData) And If file have writed.. when run script again it will write again.. How to disable it again..?? I sorry for my english.. sampe c:\Sample="Windows Sample AutoIT" c:\Sample="Windows Sample AutoIT" i want disable in secon write..?? Link to comment Share on other sites More sharing options...
MvGulik Posted February 5, 2010 Share Posted February 5, 2010 (edited) whatever Edited February 7, 2011 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
kaotkbliss Posted February 5, 2010 Share Posted February 5, 2010 to get around the [AutoIt] use boot loader as your section name 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now