Fredledingue Posted May 30, 2007 Share Posted May 30, 2007 If autoexec is erased after windows has started (basicaly after the desktop is visible) you can put this script in the Start/programs/startup folder so that at every start it will check it out. Link to comment Share on other sites More sharing options...
submix8c Posted May 31, 2007 Share Posted May 31, 2007 (edited) plonkeroo :Oh-Tay! I think I understand!You are either "Restarting in MS-DOS Mode" (most probable) or you are (at an F8 at startup) starting the "Previous version of MS-DOS" (not likely).from another website:When you restart your computer by choosing the "Restart the computer in MS-DOS mode" option in the Shut Down Windows dialog box, Windows closes all running programs, removes itself from memory, and then starts a real- mode command prompt. If the Use Current MS-DOS Configuration option is selected in the "Exit to DOS.pif" file that is used to restart the computer in MS-DOS mode, the Dosstart.bat file in the Windows folder is processed. If the Specify A New MS-DOS Configuration option is selected, the Config.sys and Autoexec.bat files listed in the "Exit to DOS.pif" file are used instead of the Config.sys and Autoexec.bat files in the root folder.two links provided in above quote:http://support.microsoft.com/support/kb/ar...RCH&SPR=W98http://support.microsoft.com/support/kb/ar...s/Q138/9/96.ASPThe above is in reference to "Restarting in MS-DOS". You must not have exactly set up what you need.If you installed Win98SE via- FDISK- FORMAT- COPY WIN98 folder to somewhere on the HDD- Run SETUP from the HDDThen you will erroneously have the option to "Previous Version" set in MSDOS.SYS. Theoretically, you should be starting normally... unless you did- FORMAT /Sin which case you will get hosed and will will have to have a RESETDOS.BAT file like I have (for when I install MS-DOS then Win9x on top). Info also from MS and other sources:REM RELEASE DOS FOR RENAMEREM ATTRIB C:\AUTOEXEC.BAT -R -A -S -HATTRIB C:\CONFIG.SYS -R -A -S -HATTRIB C:\IO.SYS -R -A -S -HATTRIB C:\MSDOS.SYS -R -A -S -HATTRIB C:\COMMAND.COM -R -A -S -HREMREM RELEASE WINDOWS FOR RENAMEREMATTRIB C:\AUTOEXEC.W40 -R -A -S -HATTRIB C:\CONFIG.W40 -R -A -S -HATTRIB C:\WINBOOT.SYS -R -A -S -HATTRIB C:\MSDOS.W40 -R -A -S -HATTRIB C:\COMMAND.W40 -R -A -S -HREMREM RENAME DOS BACKREMREN C:\AUTOEXEC.BAT AUTOEXEC.DOSREN C:\CONFIG.SYS CONFIG.DOSREN C:\IO.SYS IO.DOSREN C:\MSDOS.SYS MSDOS.DOSREN C:\COMMAND.COM COMMAND.DOSREMREM RENAME WINDOWS BACKREMREN C:\AUTOEXEC.W40 AUTOEXEC.BATREN C:\CONFIG.W40 CONFIG.SYSREN C:\WINBOOT.SYS IO.SYSREN C:\MSDOS.W40 MSDOS.SYSREN C:\COMMAND.W40 COMMAND.COMECHO ---------ECHO REBOOT YOUR COMPUTERECHO ---------Since I am not really sure of your sequence of events or other (if any) modifications (per the first scenario), then this is the best I can help. Read the above articles carefully then look into what you have set up. Chances are that you are unintentionally "wiping" your AUTOEXEC.BAT due to incomplete/erroneous setup for what you want to do (play an MS-DOS based game perhaps?).Hope this helps you sort it out... bet it will! Cheers, mate!edit: almost forgot... depending on which WinME "tweaks", you may have caused the above to happen as well (I insist!). Also, noting that you have an AUTOEXEC.DOS, this implies scenario #2 may come into play. Do a Google search on it; MS website will tell you more... I also believe MDGx has this kind of stuff posted on his website. Final note - "Exit to DOS.pif" mods may get you in conjunction with other mods; haven't tried it, but changing the Properties of this to "Close on Exit" checked MIGHT not allow a correct restart (you must "EXIT" from that mode manually), thereby creating an empty AUTOEXEC.BAT.edit2: According to MDGx, in Win98/ME the above RESETDOS.BAT (which is for Win95) would have to have the following mod: change occurrences of "WINBOOT.SYS" to "JO.SYS".edit3: I'll be dippered!!! Just tested DOS/Win311 dual-boot with Win98SE... when you use "Previous Version", the file names do in fact change, BUT when you reboot and choose "Normal".... Voila! Back to normal. Ergo, use ResetDos.bat for Win95 only!edit4: Here's something that may or may not have to do with it as well:"MS-DOS Does Not Properly Process Hard Disk Hardware Errors"http://support.microsoft.com/kb/311561I have it installed... worth a shot? (p.s. have you installed AutoPatcher? If so, you should already have this) Edited June 2, 2007 by submix8c 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