how to access the IO.SYS

Programming, for all ages and all languages.
Post Reply
neopro

how to access the IO.SYS

Post by neopro »

hi all,

i would like to access the IO.SYS file during booting so that i can give control to zyx.com along with command.com and MSDOS.sys

thanks in advance
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:how to access the IO.SYS

Post by Neo »

Your Welcome. ;)
What was the question again?
Only Human
neopro

Re:how to access the IO.SYS

Post by neopro »

hi neo,

the thing is i need to access IO.SYS file during booting (either invoked using TSR or any program) so that i can transfer the control to other files as the control is tranferred to COMMAND.COM and MSDOS.SYS(similar action like virus)
ManOfSteel

Re:how to access the IO.SYS

Post by ManOfSteel »

the thing is i need to access IO.SYS file during booting (either invoked using TSR or any program) so that i can transfer the control to other files as the control is tranferred to COMMAND.COM and MSDOS.SYS(similar action like virus)
Why don't you use 'autoexec.bat' to run your program instead?
Or if you want it to be hidden to the user, you can also patch 'command.com' by inserting your own program into it. 'command.com' has a lot of unused space, so it would not be a problem.
Schol-R-LEA

Re:how to access the IO.SYS

Post by Schol-R-LEA »

As is often the case, some context would be helpful. Setting aside the means for the moment, what are your ends?

If your intention is to devise a bootloader, you may want to check out the (including the [url=http://www.osdev.org/osfaq2/index.php/HowToAskQuestions]"How to Ask Questions" page) and the Quicklinks thread on the OS Dev forum, and maybe do a search or two for phrases like "boot loader", using the search tool at the top of the page.
Post Reply