HoppaLong Posted March 8, 2010 Share Posted March 8, 2010 I've kept a customized version of 98SE on an olddesktop for years. I purchased an IBM ThinkPad(laptop) in excellent condition, so I could copythat 98 system onto the laptop. Now, I can finallyjunk this enormous desktop while saving the systemon the ThinkPad. I used GiPo@MoveOnBoot to delete all the driverfiles specific to the hardware on the desktop.I could have created my own script, but MoveOnBootsaved me several hours. It worked great! The imagebackup file was restored to the laptop. All I hadto do was install the laptop drivers and the jobwas complete. I probably should have uninstalled MoveOnBoot beforecreating the image file, because its causing a problemon the ThinkPad.During bootup the following error message appears:C:\>C:\>C:\>rem ** This line will be processed by the GiPo@MoveOnBoot tool. **C:\>rem ** DO NOT EDIT **C:\>C:\mboot.batBad command or filenameC:\>I thought I could eliminate this erroneous messageduring bootup by deleting these lines from theAUTOEXEC.BAT file. Something is still causing theboot process to pause and display the following:C:\>C:\>What is going on here? Why is the system displayingthese these two meaningless "C" prompts, when I deletedall the MoveOnBoot lines from the AUTOEXEC.BAT file?I thought the problem might go away if I uninstalledGiPo@FileUtilities, including all the registry entries.It didn't work.Is there anything I can do to completely eliminate thisproblem during the boot process? Link to comment Share on other sites More sharing options...
herbalist Posted March 8, 2010 Share Posted March 8, 2010 Remove the empty lines at the end of autoexec.bat. Every empty line after the last entry in autoexec.bat will cause the prompt to be displayed in an additional line. Link to comment Share on other sites More sharing options...
HoppaLong Posted March 8, 2010 Author Share Posted March 8, 2010 (edited) Thank you herbalist.Years ago I was a heavy DOS user, like everyone else.You had to have some command line expertise, or youcouldn't use a computer!Believe it or not, I'm a little confused about yourreply. I apologize for my diminishing brain power.The only lines in the autoexec.bat file related toMoveOnBoot. Once those lines were removed the filewas empty.How do I "remove the empty lines at the end of autoexec.bat" when the file is empty?If possible, show me what I should add or remove fromthe autoexec.bat file to make those "C" prompts go away. Edited March 8, 2010 by HoppaLong Link to comment Share on other sites More sharing options...
LoneCrusader Posted March 8, 2010 Share Posted March 8, 2010 Thank you herbalist.Years ago I was a heavy DOS user, like everyone else.You had to have some command line expertise, or youcouldn't use a computer!Believe it or not, I'm a little confused about yourreply. I apologize for my diminishing brain power.The only lines in the autoexec.bat file related toMoveOnBoot. Once those lines were removed the filewas empty.How do I "remove the empty lines at the end of autoexec.bat" when the file is empty?If possible, show me what I should add or remove fromthe autoexec.bat file to make those "C" prompts go away.He's talking about a blank new line, as in a carriage return, or "Enter".DOS treats a blank new line as a carriage return, it's like pressing ENTER at a C:\> prompt without typing a command, you just get another C:\> prompt.For example this empty blank line ^^ in my post would produce another C:\> prompt.Check your AUTOEXEC.BAT in Notepad and Delete/Backspace out any blank lines. Or, since your AUTOEXEC.BAT is blank, click Edit > Select All and then press Delete. Once you have done this you should not be able to move the cursor from the upper left corner with the arrow keys. Link to comment Share on other sites More sharing options...
rloew Posted March 8, 2010 Share Posted March 8, 2010 If your AUTOEXEC.BAT File is empty, you can just delete it. Link to comment Share on other sites More sharing options...
HoppaLong Posted March 8, 2010 Author Share Posted March 8, 2010 OK rloew and LoneCrusader.I finally remember some of the details aboutautoexec.bat, now that you've jogged my memory.When there was no GUI, I used DOS everyday. The scripts I create these days are definitelynot traditional batch files. In fact, its beenyears since I needed a DOS based batch file.LoneCrusader, your clear explanation is terrific!I suppose I could delete autoexec.bat, but I wouldrather leave it alone as long as it doesn't causeproblems.98SE was the system we used when I started abusiness with several other guys. It's filledwith icons and logos all related to our business.Preserving a copy of this system is importantto me. I guess I'm just a sentimental old fool!I appreciate your replies. Thanks again. Link to comment Share on other sites More sharing options...
LoneCrusader Posted March 9, 2010 Share Posted March 9, 2010 ...LoneCrusader, your clear explanation is terrific!I suppose I could delete autoexec.bat, but I wouldrather leave it alone as long as it doesn't causeproblems....Preserving a copy of this system is importantto me. I guess I'm just a sentimental old fool!I appreciate your replies. Thanks again.I think if you deleted AUTOEXEC.BAT then Windows would generate a new blank one (not sure about that). It's never foolish to be sentimental, haha, I still have the hard drives from my first Win95 computer, the partitions died on them, but I never formatted over them or used the disks again in the hope that one day I could resurrect them.But anyhow, glad I was able to help you. Link to comment Share on other sites More sharing options...
submix8c Posted March 10, 2010 Share Posted March 10, 2010 (edited) Info/clarification only...No new one would be generated. WinME might (don't remember off-the-top-of-head).Generally, a minimum (not "required"; can be "null") file-content for any TXT-type file (including above) is CR/LF or more specifically "x0Ax0D" (ASCII), similar to manual typewriter "pushing the bar to the left right" placing the next "input" left and down. This "combination" is the "delimiter" used to detect (loosely) "end of input" (exception "null" which is ignored, i.e. "empty/0-length file" or "no input").Every empty line after the last entry in autoexec.bat will cause the prompt to be displayed in an additional line.True - EmptyLines=CR/LF=NothingToProcess (GoToNextInput). If you want to keep any lines (say, for posterity) just put ":: " at the beginning (same effect as "REM "). The same can be done in CONFIG.SYS (to "keep" old entries) by using either "; " or "REM " (?). Using the alternative-to "REM " makes it more readable (IMHO). Edited March 10, 2010 by submix8c Link to comment Share on other sites More sharing options...
LoneCrusader Posted March 10, 2010 Share Posted March 10, 2010 No new one would be generated.Thanks for clarifying this, I wasn't sure about it. Link to comment Share on other sites More sharing options...
lightning slinger Posted March 10, 2010 Share Posted March 10, 2010 I suppose I could delete autoexec.bat, but I wouldrather leave it alone as long as it doesn't causeproblems.You could always remove the check from 'Process Autoexec.bat file' in 'Startup selection' under the 'General' tab of 'System Configuration Utility' and then you are not going to see it when the system boots. 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